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) int
k
The number of projections to use for each hash function.static OptionID
NUMPROJ_ID
Number of projections to use in each hash function.(package private) RandomFactory
random
Random generator to use.static OptionID
RANDOM_ID
Parameter for fixing the random seed.(package private) double
width
Width of each bin.static OptionID
WIDTH_ID
Parameter for choosing the bin width.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(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:Parameterizer
Configure 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:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
-