Package elki.distance.timeseries
Class EDRDistance.Par
- java.lang.Object
-
- elki.distance.timeseries.AbstractEditDistance.Par
-
- elki.distance.timeseries.EDRDistance.Par
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- EDRDistance
public static class EDRDistance.Par extends AbstractEditDistance.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected double
delta
Delta parameter, similarity threshold for attributes.static OptionID
DELTA_ID
DELTA parameter-
Fields inherited from class elki.distance.timeseries.AbstractEditDistance.Par
bandSize, BANDSIZE_ID
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.static double
getParameterDelta(Parameterization config)
Get parameter delta.EDRDistance
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
DELTA_ID
public static final OptionID DELTA_ID
DELTA parameter
-
delta
protected double delta
Delta parameter, similarity threshold for attributes.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Overrides:
configure
in classAbstractEditDistance.Par
- Parameters:
config
- Parameterization
-
getParameterDelta
public static double getParameterDelta(Parameterization config)
Get parameter delta.- Parameters:
config
- Parameterization- Returns:
- value
-
make
public EDRDistance 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
-
-