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. |
ALGORITHM_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, runprotected PrimitiveDistanceFunction<? super O> distanceFunction
DistanceBasedAlgorithm.DISTANCE_FUNCTION_ID.protected AbstractPrimitiveDistanceBasedAlgorithm(PrimitiveDistanceFunction<? super O> distanceFunction)
distanceFunction - Distance functionpublic PrimitiveDistanceFunction<? super O> getDistanceFunction()
Copyright © 2019 ELKI Development Team. License information.