|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.logic.features.calculators.AbstractCalculator<T,U>
org.android.activityminer.logic.features.calculators.AbstractObservationBasedCalculator<SensorObservationDimensions,Double>
org.android.activityminer.logic.features.calculators.MaxDistanceInLocationsCalculator
public final class MaxDistanceInLocationsCalculator
Implementation of a calculator for the maximum of pairwise location distances.
Field Summary | |
---|---|
private List<GeoLocation> |
listLocations
The location list for maximum pairwise distance calculation. |
Fields inherited from class org.android.activityminer.logic.features.calculators.AbstractCalculator |
---|
dimension, value |
Constructor Summary | |
---|---|
MaxDistanceInLocationsCalculator()
Constructor |
Method Summary | |
---|---|
void |
addObservation(SensorObservation<SensorObservationDimensions,Double> observation)
Method to add a sensor observation to this type. |
Double |
getInitialValue()
Method for value initialization. |
List<GeoLocation> |
getListLocations()
Getter for the listLocations |
void |
reset()
Method to reset the calculator value. |
Methods inherited from class org.android.activityminer.logic.features.calculators.AbstractObservationBasedCalculator |
---|
addObservations |
Methods inherited from class org.android.activityminer.logic.features.calculators.AbstractCalculator |
---|
getDimension, getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final List<GeoLocation> listLocations
Constructor Detail |
---|
public MaxDistanceInLocationsCalculator()
Method Detail |
---|
public final void addObservation(SensorObservation<SensorObservationDimensions,Double> observation)
ObservationBasedCalulator
observation
- the observation to addpublic final void reset()
Calculator
reset
in interface Calculator<Double>
reset
in class AbstractCalculator<SensorObservationDimensions,Double>
public List<GeoLocation> getListLocations()
public final Double getInitialValue()
Calculator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |