O
- the type of objects handled by this AlgorithmR
- the type of result to retrieve from this Algorithmpublic abstract class AbstractPrimitiveDistanceBasedAlgorithm<O,R extends Result> extends AbstractAlgorithm<R>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractPrimitiveDistanceBasedAlgorithm.Parameterizer<O>
Parameterization helper class.
|
Modifier and Type | Field and Description |
---|---|
protected PrimitiveDistanceFunction<? super O> |
distanceFunction
Holds the instance of the distance function specified by
DistanceBasedAlgorithm.DISTANCE_FUNCTION_ID . |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveDistanceBasedAlgorithm(PrimitiveDistanceFunction<? super O> distanceFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveDistanceFunction<? super O> |
getDistanceFunction()
Returns the distanceFunction.
|
getInputTypeRestriction, getLogger, makeParameterDistanceFunction, run
protected PrimitiveDistanceFunction<? super O> distanceFunction
DistanceBasedAlgorithm.DISTANCE_FUNCTION_ID
.protected AbstractPrimitiveDistanceBasedAlgorithm(PrimitiveDistanceFunction<? super O> distanceFunction)
distanceFunction
- Distance functionpublic PrimitiveDistanceFunction<? super O> getDistanceFunction()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.