
V - Object typepublic interface LocalitySensitiveHashFunctionFamily<V>
| Modifier and Type | Method and Description |
|---|---|
ArrayList<? extends LocalitySensitiveHashFunction<? super V>> |
generateHashFunctions(Relation<? extends V> relation,
int k)
Generate hash functions for the given relation.
|
TypeInformation |
getInputTypeRestriction()
Get the input type information.
|
boolean |
isCompatible(DistanceFunction<?,?> df)
Check whether the given distance function can be accelerated using this
hash family.
|
TypeInformation getInputTypeRestriction()
ArrayList<? extends LocalitySensitiveHashFunction<? super V>> generateHashFunctions(Relation<? extends V> relation, int k)
relation - Relation to indexk - number of hash functions per table.boolean isCompatible(DistanceFunction<?,?> df)
df - Distance function.true when appropriate.