org.android.activityminer.logic.features
Class AbstractFeature

Package class diagram package AbstractFeature
java.lang.Object
  extended by org.android.activityminer.logic.features.AbstractFeature
All Implemented Interfaces:
Feature
Direct Known Subclasses:
CrossCorrelationFeature, EnergyFeature, EntropyFeature, MaxAccelerationAxisDifferenceFeature, MaxDistanceInLocationsFeature, MaximumFeature, MeanCrossingRateFeature, MeanFeature, MinimumFeature, PeakAmplitudeFeature, PeakFrequencyFeature, RangeFeature, VarianceFeature

public abstract class AbstractFeature
extends Object
implements Feature

Base class for a feature, which is associated with a concrete feature type.


Field Summary
protected  FeatureTypes featureType
          The feature type.
 
Constructor Summary
AbstractFeature(FeatureTypes featureType)
          Constructor
 
Method Summary
 FeatureTypes getFeatureType()
          Getter for the featureType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.android.activityminer.logic.features.Feature
getFeatureValue
 

Field Detail

featureType

protected final FeatureTypes featureType
The feature type.

Constructor Detail

AbstractFeature

public AbstractFeature(FeatureTypes featureType)
Constructor

Parameters:
featureType - the feature type
Method Detail

getFeatureType

public final FeatureTypes getFeatureType()
Description copied from interface: Feature
Getter for the featureType

Specified by:
getFeatureType in interface Feature
Returns:
the featureType