public abstract static class AbstractSimilarityAdapter.Parameterizer<O,S extends SimilarityFunction<? super O>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<SimilarityFunction<? super O>> |
ARBITRARY_SIMILARITY
Arbitrary Similarity functions
|
protected java.lang.Class<NormalizedSimilarityFunction<? super O>> |
NORMALIZED_SIMILARITY
Normalized similarity functions
|
static OptionID |
SIMILARITY_FUNCTION_ID
Parameter to specify the similarity function to derive the distance
between database objects from.
|
protected S |
similarityFunction
Holds the similarity function.
|
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Class<? extends S> |
getSimilarityRestriction()
Get the similarity function restriction.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make, makeInstance
public static final OptionID SIMILARITY_FUNCTION_ID
SimilarityFunction
.protected S extends SimilarityFunction<? super O> similarityFunction
protected java.lang.Class<SimilarityFunction<? super O>> ARBITRARY_SIMILARITY
protected java.lang.Class<NormalizedSimilarityFunction<? super O>> NORMALIZED_SIMILARITY
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.protected abstract java.lang.Class<? extends S> getSimilarityRestriction()
Copyright © 2019 ELKI Development Team. License information.