Package generic.lsh.vector
Class LSHCosineVectorAccum.Entry
java.lang.Object
generic.lsh.vector.LSHCosineVectorAccum.Entry
- All Implemented Interfaces:
Comparable<LSHCosineVectorAccum.Entry>
- Enclosing class:
LSHCosineVectorAccum
public static class LSHCosineVectorAccum.Entry
extends Object
implements Comparable<LSHCosineVectorAccum.Entry>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
hash
public final int hash -
weight
public final double weight
-
-
Constructor Details
-
Entry
public Entry(int hash, double weight)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
compareTo
Comparison must be UNSIGNED!!- Specified by:
compareTo
in interfaceComparable<LSHCosineVectorAccum.Entry>
-
toString
-