|
||||||||||
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.AbstractCompositeCalculator<T,Double>
org.android.activityminer.logic.features.calculators.MeanCrossingRateCalculator<T>
T
- the enumeration type for the dimensionspublic final class MeanCrossingRateCalculator<T extends Enum<T> & Dimensions>
Implementation of a calculator for the mean crossing rate of a sensor signal.
Field Summary | |
---|---|
private MeanCalculator<T> |
meanCalculator
The calculator providing the mean value. |
private DimensionValueCache<T> |
valueCache
The value cache. |
Fields inherited from class org.android.activityminer.logic.features.calculators.AbstractCalculator |
---|
dimension, value |
Constructor Summary | |
---|---|
MeanCrossingRateCalculator(DimensionValueCache<T> valueCache,
MeanCalculator<T> meanCalculator)
Constructor |
Method Summary | |
---|---|
Double |
getCompositeValue()
Does calculate the composite value. |
Double |
getInitialValue()
Method for value initialization. |
MeanCalculator<T> |
getMeanCalculator()
Getter for the mean calculator. |
DimensionValueCache<T> |
getValueCache()
Getter for the value cache calculator. |
Methods inherited from class org.android.activityminer.logic.features.calculators.AbstractCompositeCalculator |
---|
getValue, reset |
Methods inherited from class org.android.activityminer.logic.features.calculators.AbstractCalculator |
---|
getDimension |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final DimensionValueCache<T extends Enum<T> & Dimensions> valueCache
private final MeanCalculator<T extends Enum<T> & Dimensions> meanCalculator
Constructor Detail |
---|
public MeanCrossingRateCalculator(DimensionValueCache<T> valueCache, MeanCalculator<T> meanCalculator)
valueCache
- the value cachemeanCalculator
- the mean calculatorMethod Detail |
---|
public final Double getInitialValue()
Calculator
public Double getCompositeValue()
CompositeCalculator
public MeanCalculator<T> getMeanCalculator()
public DimensionValueCache<T> getValueCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |