V
- object type.public static class InMemoryIDistanceIndex.Factory.Parameterizer<V> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
(package private) DistanceFunction<? super V> |
distance
Distance function to use.
|
static OptionID |
DISTANCE_ID
Parameter for the distance function
|
(package private) KMedoidsInitialization<V> |
initialization
Initialization method.
|
(package private) int |
k
Number of reference points
|
static OptionID |
K_ID
Number of reference points.
|
static OptionID |
REFERENCE_ID
Initialization method.
|
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected InMemoryIDistanceIndex.Factory<V> |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID DISTANCE_ID
public static final OptionID REFERENCE_ID
public static final OptionID K_ID
DistanceFunction<? super V> distance
KMedoidsInitialization<V> initialization
int k
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected InMemoryIDistanceIndex.Factory<V> makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2019 ELKI Development Team. License information.