Package elki.index.lsh.hashfamilies
Class AbstractProjectedHashFunctionFamily.Par
- java.lang.Object
-
- elki.index.lsh.hashfamilies.AbstractProjectedHashFunctionFamily.Par
-
- All Implemented Interfaces:
Parameterizer
- Direct Known Subclasses:
EuclideanHashFunctionFamily.Par,ManhattanHashFunctionFamily.Par
- Enclosing class:
- AbstractProjectedHashFunctionFamily
public abstract static class AbstractProjectedHashFunctionFamily.Par extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intkThe number of projections to use for each hash function.static OptionIDNUMPROJ_IDNumber of projections to use in each hash function.(package private) RandomFactoryrandomRandom generator to use.static OptionIDRANDOM_IDParameter for fixing the random seed.(package private) doublewidthWidth of each bin.static OptionIDWIDTH_IDParameter for choosing the bin width.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Parameterization config)Configure the class.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.utilities.optionhandling.Parameterizer
make
-
-
-
-
Field Detail
-
RANDOM_ID
public static final OptionID RANDOM_ID
Parameter for fixing the random seed.
-
WIDTH_ID
public static final OptionID WIDTH_ID
Parameter for choosing the bin width.
-
NUMPROJ_ID
public static final OptionID NUMPROJ_ID
Number of projections to use in each hash function.
-
random
RandomFactory random
Random generator to use.
-
width
double width
Width of each bin.
-
k
int k
The number of projections to use for each hash function.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:ParameterizerConfigure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configurein interfaceParameterizer- Parameters:
config- Parameterization
-
-