Class SmoothedLinearModelAnalyser
- java.lang.Object
-
- io.heraldprox.herald.sensor.analysis.algorithms.distance.SmoothedLinearModelAnalyser
-
- All Implemented Interfaces:
AnalysisProvider<RSSI,Distance>
public class SmoothedLinearModelAnalyser extends java.lang.Object implements AnalysisProvider<RSSI,Distance>
-
-
Constructor Summary
Constructors Constructor Description SmoothedLinearModelAnalyser()
SmoothedLinearModelAnalyser(TimeInterval interval, TimeInterval smoothingWindow, SmoothedLinearModel<RSSI> smoothedLinearModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
analyse(Date timeNow, SampledID sampled, SampleList<RSSI> input, SampleList<Distance> output, CallableForNewSample<Distance> callable)
java.lang.Class<RSSI>
inputType()
java.lang.Class<Distance>
outputType()
-
-
-
Constructor Detail
-
SmoothedLinearModelAnalyser
public SmoothedLinearModelAnalyser()
-
SmoothedLinearModelAnalyser
public SmoothedLinearModelAnalyser(@NonNull TimeInterval interval, @NonNull TimeInterval smoothingWindow, @NonNull SmoothedLinearModel<RSSI> smoothedLinearModel)
-
-
Method Detail
-
inputType
@NonNull public java.lang.Class<RSSI> inputType()
- Specified by:
inputType
in interfaceAnalysisProvider<RSSI,Distance>
-
outputType
@NonNull public java.lang.Class<Distance> outputType()
- Specified by:
outputType
in interfaceAnalysisProvider<RSSI,Distance>
-
analyse
public boolean analyse(@NonNull Date timeNow, @NonNull SampledID sampled, @NonNull SampleList<RSSI> input, @NonNull SampleList<Distance> output, @NonNull CallableForNewSample<Distance> callable)
- Specified by:
analyse
in interfaceAnalysisProvider<RSSI,Distance>
-
-