org.android.activityminer.logic.features
Class StandardDeviationFeature<T extends Enum<T> & Dimensions>

Package class diagram package StandardDeviationFeature
java.lang.Object
  extended by org.android.activityminer.logic.features.AbstractFeature
      extended by org.android.activityminer.logic.features.VarianceFeature<T>
          extended by org.android.activityminer.logic.features.StandardDeviationFeature<T>
Type Parameters:
T - the enumeration type for the dimensions
All Implemented Interfaces:
Feature

public class StandardDeviationFeature<T extends Enum<T> & Dimensions>
extends VarianceFeature<T>

Implementation of the standard deviation feature, which is an extended feature based on the variance feature value.


Field Summary
 
Fields inherited from class org.android.activityminer.logic.features.AbstractFeature
featureType
 
Constructor Summary
StandardDeviationFeature(FeatureTypes featureType, VarianceCalculator<T> calculator)
          Constructor
 
Method Summary
 Double getFeatureValue()
          Getter for the feature value
 
Methods inherited from class org.android.activityminer.logic.features.VarianceFeature
getVarianceCalculator
 
Methods inherited from class org.android.activityminer.logic.features.AbstractFeature
getFeatureType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDeviationFeature

public StandardDeviationFeature(FeatureTypes featureType,
                                VarianceCalculator<T> calculator)
Constructor

Parameters:
featureType - the feature type
calculator - the variance calculator
Method Detail

getFeatureValue

public final Double getFeatureValue()
Description copied from interface: Feature
Getter for the feature value

Specified by:
getFeatureValue in interface Feature
Overrides:
getFeatureValue in class VarianceFeature<T extends Enum<T> & Dimensions>
Returns:
the feature value