statalign.postprocess.plugins.contree
Class Cluster

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<TreeNode>
              extended by statalign.postprocess.plugins.contree.Cluster
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<java.util.ArrayList<TreeNode>>, java.lang.Iterable<TreeNode>, java.util.Collection<TreeNode>, java.util.List<TreeNode>, java.util.RandomAccess

public class Cluster
extends java.util.ArrayList<TreeNode>
implements java.lang.Comparable<java.util.ArrayList<TreeNode>>

See Also:
Serialized Form

Field Summary
 java.util.BitSet aboveSplit
           
 boolean added
           
 double edgeLength
           
 boolean isMajority
           
 int nodeRefA
           
 int nodeRefB
           
 int noOfOccurrences
           
 
Constructor Summary
Cluster()
           
 
Method Summary
 int compareTo(java.util.ArrayList<TreeNode> other)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

noOfOccurrences

public int noOfOccurrences

edgeLength

public double edgeLength

aboveSplit

public java.util.BitSet aboveSplit

nodeRefA

public int nodeRefA

nodeRefB

public int nodeRefB

added

public boolean added

isMajority

public boolean isMajority
Constructor Detail

Cluster

public Cluster()
Method Detail

compareTo

public int compareTo(java.util.ArrayList<TreeNode> other)
Specified by:
compareTo in interface java.lang.Comparable<java.util.ArrayList<TreeNode>>