Constructor and Description |
---|
LSHNearestNeighbours(List<HashFunction<OBJECT>> tableHashes,
DistanceComparator<OBJECT> distanceFcn)
Construct with the given hash functions and distance function.
|
Modifier and Type | Class and Description |
---|---|
class |
PolyHashComposition<OBJECT>
HashComposition that uses a polynomial function to combine the
individual hashes. |
class |
RandomProjectionHashComposition<OBJECT>
Compose a set of hash functions by computing the dot product of the hashes
they produce with a random vector.
|
Constructor and Description |
---|
PolyHashComposition(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
PolyHashComposition(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
RandomProjectionHashComposition(cern.jet.random.engine.MersenneTwister rng,
HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
RandomProjectionHashComposition(cern.jet.random.engine.MersenneTwister rng,
HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
Constructor and Description |
---|
PolyHashComposition(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
RandomProjectionHashComposition(cern.jet.random.engine.MersenneTwister rng,
List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteHashFunction
Base
RandomisedHashFunction for hashing byte arrays. |
protected class |
BytePStableFactory.PStableFunction |
class |
DoubleHashFunction
Base
RandomisedHashFunction for hashing double arrays. |
protected class |
DoublePStableFactory.PStableFunction |
class |
FloatHashFunction
Base
RandomisedHashFunction for hashing float arrays. |
protected class |
FloatPStableFactory.PStableFunction |
class |
IntHashFunction
Base
RandomisedHashFunction for hashing int arrays. |
protected class |
IntPStableFactory.PStableFunction |
class |
LongHashFunction
Base
RandomisedHashFunction for hashing long arrays. |
protected class |
LongPStableFactory.PStableFunction |
class |
RandomisedHashFunction<OBJECT>
A randomised hash function
|
class |
ShortHashFunction
Base
RandomisedHashFunction for hashing short arrays. |
protected class |
ShortPStableFactory.PStableFunction |
Constructor and Description |
---|
BitSetLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
BitSetLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
ByteLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
ByteLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
IntLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
IntLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
LongLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
LongLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
ShortLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
ShortLSHSketcher(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
Constructor and Description |
---|
BitSetLSHSketcher(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
ByteLSHSketcher(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
IntLSHSketcher(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
LongLSHSketcher(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
ShortLSHSketcher(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
Modifier and Type | Class and Description |
---|---|
class |
StringMurmurHashFunction
Use MurmurHash (http://murmurhash.googlepages.com/) to generate a random hash
for a string.
|
Modifier and Type | Method and Description |
---|---|
HashFunction<OBJECT> |
HashFunctionFactory.create()
Construct a new
HashFunction . |
Modifier and Type | Class and Description |
---|---|
class |
HashComposition<OBJECT>
HashComposition s are HashFunction s that compose the hash
codes generated by multiple hash functions applied to an object into a single
hash code for that object. |
class |
SimpleComposition<OBJECT>
Simple composition function.
|
Modifier and Type | Field and Description |
---|---|
protected List<HashFunction<OBJECT>> |
HashComposition.hashFunctions |
Constructor and Description |
---|
HashComposition(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
HashComposition(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
SimpleComposition(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
SimpleComposition(HashFunction<OBJECT> first,
HashFunction<OBJECT>... remainder)
Construct with the given functions.
|
Constructor and Description |
---|
HashComposition(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
SimpleComposition(List<HashFunction<OBJECT>> functions)
Construct with the given functions.
|
Modifier and Type | Class and Description |
---|---|
class |
HashModifier<OBJECT>
A hash function that modifies the hash code produced by another hash
function.
|
class |
LSBModifier<O>
HashModifier that extracts the Least Significant Bit of the
underlying hash. |
class |
ModuloModifier<O>
Modify the underlying hash function by applying the modulus to the value.
|
Modifier and Type | Field and Description |
---|---|
protected HashFunction<OBJECT> |
HashModifier.hashFunction |
Constructor and Description |
---|
HashModifier(HashFunction<OBJECT> hashFunction) |
LSBModifier(HashFunction<O> hashFunction)
Construct with the given hash function
|
ModuloModifier(HashFunction<O> hashFunction,
int range)
Construct with the given hash function and range.
|