statalign.postprocess.plugins.contree.hash
Class HashEntry

java.lang.Object
  extended by statalign.postprocess.plugins.contree.hash.HashEntry

public class HashEntry
extends java.lang.Object


Field Summary
 int count
          The number of times this bi-partition has been seen.
 double edgeLengthsSum
          The sum of the edge lengths
 int hashKey2
          The bucket hash key relevant to this entry.
 boolean isMajority
          If this is a majority partition this will be set to true, otherwise false.
 double[] leaves
           
 java.util.BitSet partition
          The bi-partition relevant to this entry.
 
Constructor Summary
HashEntry(int bucketKey)
           
HashEntry(int bucketKey, java.util.BitSet partition, double edgeLength)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

partition

public java.util.BitSet partition
The bi-partition relevant to this entry.


hashKey2

public int hashKey2
The bucket hash key relevant to this entry.


count

public int count
The number of times this bi-partition has been seen.


isMajority

public boolean isMajority
If this is a majority partition this will be set to true, otherwise false.


edgeLengthsSum

public double edgeLengthsSum
The sum of the edge lengths


leaves

public double[] leaves
Constructor Detail

HashEntry

public HashEntry(int bucketKey)

HashEntry

public HashEntry(int bucketKey,
                 java.util.BitSet partition,
                 double edgeLength)