public class CosineHashFamily extends java.lang.Object implements HashFamily
Constructor and Description |
---|
CosineHashFamily(int dimensions) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
combine(int[] hashes)
Combine a number of hashes generated by members of this hash function
family.
|
DistanceMeasure |
createDistanceMeasure()
Create a new distance measure.
|
HashFunction |
createHashFunction()
Create a new hash function of this family.
|
public HashFunction createHashFunction()
HashFamily
createHashFunction
in interface HashFamily
public java.lang.Integer combine(int[] hashes)
HashFamily
combine
in interface HashFamily
hashes
- The raw hashes that need to be combined.public DistanceMeasure createDistanceMeasure()
HashFamily
createDistanceMeasure
in interface HashFamily