Package elki.distance.adapter
Class LinearSimilarityAdapter.Par<O>
- java.lang.Object
-
- elki.distance.adapter.AbstractSimilarityAdapter.Par<O,NormalizedSimilarity<? super O>>
-
- elki.distance.adapter.LinearSimilarityAdapter.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- LinearSimilarityAdapter<O>
public static class LinearSimilarityAdapter.Par<O> extends AbstractSimilarityAdapter.Par<O,NormalizedSimilarity<? super O>>
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.distance.adapter.AbstractSimilarityAdapter.Par
ARBITRARY_SIMILARITY, NORMALIZED_SIMILARITY, SIMILARITY_FUNCTION_ID, similarityFunction
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<? extends NormalizedSimilarity<? super O>>
getSimilarityRestriction()
Get the similarity function restriction.LinearSimilarityAdapter<O>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.distance.adapter.AbstractSimilarityAdapter.Par
configure
-
-
-
-
Method Detail
-
make
public LinearSimilarityAdapter<O> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Returns:
- a new instance
-
getSimilarityRestriction
protected java.lang.Class<? extends NormalizedSimilarity<? super O>> getSimilarityRestriction()
Description copied from class:AbstractSimilarityAdapter.Par
Get the similarity function restriction.- Specified by:
getSimilarityRestriction
in classAbstractSimilarityAdapter.Par<O,NormalizedSimilarity<? super O>>
- Returns:
- Distance function supported.
-
-