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 void
beginRun(int thisRun)
void
map(Sample<T> value)
java.lang.Double
reduce()
void
reset()
int
runs()
-
-
-
Method Detail
-
runs
public int runs()
- Specified by:
runs
in interfaceAggregate<T extends DoubleValue>
-
beginRun
public void beginRun(int thisRun)
- Specified by:
beginRun
in interfaceAggregate<T extends DoubleValue>
-
map
public void map(@NonNull Sample<T> value)
- Specified by:
map
in interfaceAggregate<T extends DoubleValue>
-
reduce
@Nullable public java.lang.Double reduce()
- Specified by:
reduce
in interfaceAggregate<T extends DoubleValue>
-
reset
public void reset()
- Specified by:
reset
in interfaceAggregate<T extends DoubleValue>
-
-