public abstract static class AbstractSimilarityAdapter.Parameterizer<O,S extends SimilarityFunction<? super O>> extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
protected Class<SimilarityFunction<? super O>> |
ARBITRARY_SIMILARITY
Arbitrary Similarity functions
|
protected 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 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
.
Key: -adapter.similarityfunction
protected S extends SimilarityFunction<? super O> similarityFunction
protected Class<SimilarityFunction<? super O>> ARBITRARY_SIMILARITY
protected Class<NormalizedSimilarityFunction<? super O>> NORMALIZED_SIMILARITY
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractParameterizer
config
- Parameterization to add options to.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.