|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.hogent.tarsos.lsh.families.CosineHashFamily
public class CosineHashFamily
| Constructor Summary | |
|---|---|
CosineHashFamily(int dimensions)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CosineHashFamily(int dimensions)
| Method Detail |
|---|
public HashFunction createHashFunction()
HashFamily
createHashFunction in interface HashFamilypublic java.lang.Integer combine(int[] hashes)
HashFamily
combine in interface HashFamilyhashes - The raw hashes that need to be combined.
public DistanceMeasure createDistanceMeasure()
HashFamily
createDistanceMeasure in interface HashFamily
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||