Class FowlerBasic<T extends DoubleValue>
- java.lang.Object
-
- io.heraldprox.herald.sensor.analysis.algorithms.distance.FowlerBasic<T>
-
- All Implemented Interfaces:
Aggregate<T>
public class FowlerBasic<T extends DoubleValue> extends java.lang.Object implements Aggregate<T>
-
-
Constructor Summary
Constructors Constructor Description FowlerBasic(double intercept, double coefficient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginRun(int thisRun)voidmap(Sample<T> value)java.lang.Doublereduce()voidreset()intruns()
-
-
-
Method Detail
-
runs
public int runs()
- Specified by:
runsin interfaceAggregate<T extends DoubleValue>
-
beginRun
public void beginRun(int thisRun)
- Specified by:
beginRunin interfaceAggregate<T extends DoubleValue>
-
map
public void map(@NonNull Sample<T> value)- Specified by:
mapin interfaceAggregate<T extends DoubleValue>
-
reduce
@Nullable public java.lang.Double reduce()
- Specified by:
reducein interfaceAggregate<T extends DoubleValue>
-
reset
public void reset()
- Specified by:
resetin interfaceAggregate<T extends DoubleValue>
-
-