org.android.activityminer.model.features
Enum FeatureTypes

Package class diagram package FeatureTypes
java.lang.Object
  extended by java.lang.Enum<FeatureTypes>
      extended by org.android.activityminer.model.features.FeatureTypes
All Implemented Interfaces:
Parcelable, Serializable, Comparable<FeatureTypes>

public enum FeatureTypes
extends Enum<FeatureTypes>
implements Parcelable

The available dimensions for a feature stream (respectively the feature types).


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Enum Constant Summary
AverageAxisX
          The average x axis acceleration.
AverageAxisY
          The average y axis acceleration.
AverageAxisZ
          The average z axis acceleration.
AverageHorizontalMagnitude
          The average magnitude of horizontal acceleration.
AverageLatitude
          The average latitude.
AverageLongitude
          The average longitude.
AverageMagnitude
          The average magnitude of linear acceleration.
AverageSpeed
          The average speed (m/s).
AverageVerticalMagnitude
          The average magnitude of vertical acceleration.
EnergyOfHorizontalMagnitude
          The energy of the magnitude of horizontal acceleration.
EnergyOfMagnitude
          The energy of the magnitude of linear acceleration.
EnergyOfVerticalMagnitude
          The energy of the magnitude of vertical acceleration.
MaxAccelerationAxisDifference
          The maximum of the pairwise differences between the average axis accelerations.
MaxDistanceInLocations
          The maximum distance between the longitude and latitude values of all locations.
MaximumHorizontalMagnitude
          The maximum magnitude of horizontal acceleration.
MaximumLatitude
          The maximum latitude.
MaximumLongitude
          The maximum longitude.
MaximumMagnitude
          The maximum magnitude of linear acceleration.
MaximumSpeed
          The maximum speed (m/s).
MaximumVerticalMagnitude
          The maximum magnitude of vertical acceleration.
MeanCrossingRateOfHorizontalMagnitude
          The Mean-Crossing Rate of the magnitude of horizontal acceleration.
MeanCrossingRateOfMagnitude
          The Mean-Crossing Rate of the magnitude of linear acceleration.
MeanCrossingRateOfVerticalMagnitude
          The Mean-Crossing Rate of the magnitude of vertical acceleration.
MinimumHorizontalMagnitude
          The minimum magnitude of horizontal acceleration.
MinimumLatitude
          The minimum latitude.
MinimumLongitude
          The minimum longitude.
MinimumMagnitude
          The minimum magnitude of linear acceleration.
MinimumSpeed
          The minimum speed (m/s).
MinimumVerticalMagnitude
          The minimum magnitude of vertical acceleration.
PeakAmplitudeOfHorizontalMagnitude
          The amplitude of the peak frequency of the magnitude of horizontal acceleration.
PeakAmplitudeOfMagnitude
          The amplitude of the peak frequency of the magnitude of linear acceleration.
PeakAmplitudeOfVerticalMagnitude
          The amplitude of the peak frequency of the magnitude of vertical acceleration.
PeakFrequencyOfHorizontalMagnitude
          The peak frequency of the magnitude of horizontal acceleration.
PeakFrequencyOfMagnitude
          The peak frequency of the magnitude of linear acceleration.
PeakFrequencyOfVerticalMagnitude
          The peak frequency of the magnitude of vertical acceleration.
RangeOfHorizontalMagnitude
          The range of the horizontal magnitude of acceleration.
RangeOfLatitude
          The range of latitude (difference between maximum and minimum).
RangeOfLongitude
          The range of longitude (difference between maximum and minimum).
RangeOfMagnitude
          The range of the linear magnitude of acceleration (difference between maximum and minimum).
RangeOfSpeed
          The range of speed (difference between maximum and minimum).
RangeOfVerticalMagnitude
          The range of the vertical magnitude of acceleration.
SignalEntropyOfHorizontalMagnitude
          The entropy of the of the magnitude of horizontal acceleration.
SignalEntropyOfMagnitude
          The entropy of the of the magnitude of linear acceleration.
SignalEntropyOfVerticalMagnitude
          The entropy of the of the magnitude of vertical acceleration.
StandardDeviationOfHorizontalMagnitude
          The standard deviation of the magnitude of horizontal acceleration.
StandardDeviationOfMagnitude
          The standard deviation of the magnitude of linear acceleration.
StandardDeviationOfVerticalMagnitude
          The standard deviation of the magnitude of vertical acceleration.
VarianceOfHorizontalMagnitude
          The variance in the magnitude of horizontal acceleration.
VarianceOfMagnitude
          The variance (squared standard deviation) in the magnitude of linear acceleration.
VarianceOfVerticalMagnitude
          The variance in the magnitude of vertical acceleration.
VerticalAndHorizontalCorrelation
          The cross correlation of vertical and horizontal acceleration.
 
Field Summary
private static FeatureTypes[] accerometerFeatures
          The known features.
static Parcelable.Creator<FeatureTypes> CREATOR
          The Parcelable creator.
private static FeatureTypes[] knownFeatures
          The known features.
private static FeatureTypes[] visibleFeatures
          The visible features for the user.
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 int describeContents()
           
static FeatureTypes[] getAccelerometerFeatures()
          Method to request the accelerometer features.
static int getColor(FeatureTypes type)
          Getter for a identifying color.
static Comparator<FeatureTypes> getComparator()
          Does create a comparator for feature types.
static int getDescriptionResourceId(FeatureTypes type)
          Getter for the feature description resource identifier
static FeatureTypeGroups getGroup(FeatureTypes type)
          Getter for the feature group.
static FeatureTypes[] getKnownFeatures()
          Method to request the known features for extraction.
static int getShortGraphDescriptionResourceId(FeatureTypes type)
          Getter for the short curve description resource identifier
static FeatureTypes[] getVisibleFeatures()
          Method to request the visible features.
static FeatureTypes[] getVisibleFeatures(Configuration configuration)
          Method to request the visible features for a given configuration.
static boolean isAccelerometerFeature(FeatureTypes type)
          Test method if a feature is an accelerometer feature.
static boolean isFrequencyDomainFeature(FeatureTypes featureType)
          Test method if a feature is a frequency domain feature
static boolean isHorizontalAccelerationFeature(FeatureTypes featureType)
          Test method if a feature is a horizontal acceleration feature
static boolean isKnown(FeatureTypes type)
          Test method if a feature is known.
static boolean isLinearAccelrationFeature(FeatureTypes featureType)
          Test method if a feature is a linear acceleration feature
static boolean isVerticalAccelerationFeature(FeatureTypes featureType)
          Test method if a feature is a vertical acceleration feature
static boolean isVisible(FeatureTypes type)
          Test method if a feature is just defined for internal usage (exploration).
static FeatureTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FeatureTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AverageAxisX

public static final FeatureTypes AverageAxisX
The average x axis acceleration.


AverageAxisY

public static final FeatureTypes AverageAxisY
The average y axis acceleration.


AverageAxisZ

public static final FeatureTypes AverageAxisZ
The average z axis acceleration.


MaxAccelerationAxisDifference

public static final FeatureTypes MaxAccelerationAxisDifference
The maximum of the pairwise differences between the average axis accelerations.


AverageMagnitude

public static final FeatureTypes AverageMagnitude
The average magnitude of linear acceleration.


AverageHorizontalMagnitude

public static final FeatureTypes AverageHorizontalMagnitude
The average magnitude of horizontal acceleration.


AverageVerticalMagnitude

public static final FeatureTypes AverageVerticalMagnitude
The average magnitude of vertical acceleration.


MinimumMagnitude

public static final FeatureTypes MinimumMagnitude
The minimum magnitude of linear acceleration.


MinimumHorizontalMagnitude

public static final FeatureTypes MinimumHorizontalMagnitude
The minimum magnitude of horizontal acceleration.


MinimumVerticalMagnitude

public static final FeatureTypes MinimumVerticalMagnitude
The minimum magnitude of vertical acceleration.


MaximumMagnitude

public static final FeatureTypes MaximumMagnitude
The maximum magnitude of linear acceleration.


MaximumHorizontalMagnitude

public static final FeatureTypes MaximumHorizontalMagnitude
The maximum magnitude of horizontal acceleration.


MaximumVerticalMagnitude

public static final FeatureTypes MaximumVerticalMagnitude
The maximum magnitude of vertical acceleration.


RangeOfMagnitude

public static final FeatureTypes RangeOfMagnitude
The range of the linear magnitude of acceleration (difference between maximum and minimum).


RangeOfHorizontalMagnitude

public static final FeatureTypes RangeOfHorizontalMagnitude
The range of the horizontal magnitude of acceleration.


RangeOfVerticalMagnitude

public static final FeatureTypes RangeOfVerticalMagnitude
The range of the vertical magnitude of acceleration.


VarianceOfMagnitude

public static final FeatureTypes VarianceOfMagnitude
The variance (squared standard deviation) in the magnitude of linear acceleration.


VarianceOfHorizontalMagnitude

public static final FeatureTypes VarianceOfHorizontalMagnitude
The variance in the magnitude of horizontal acceleration.


VarianceOfVerticalMagnitude

public static final FeatureTypes VarianceOfVerticalMagnitude
The variance in the magnitude of vertical acceleration.


StandardDeviationOfMagnitude

public static final FeatureTypes StandardDeviationOfMagnitude
The standard deviation of the magnitude of linear acceleration.


StandardDeviationOfHorizontalMagnitude

public static final FeatureTypes StandardDeviationOfHorizontalMagnitude
The standard deviation of the magnitude of horizontal acceleration.


StandardDeviationOfVerticalMagnitude

public static final FeatureTypes StandardDeviationOfVerticalMagnitude
The standard deviation of the magnitude of vertical acceleration.


MeanCrossingRateOfMagnitude

public static final FeatureTypes MeanCrossingRateOfMagnitude
The Mean-Crossing Rate of the magnitude of linear acceleration.


MeanCrossingRateOfHorizontalMagnitude

public static final FeatureTypes MeanCrossingRateOfHorizontalMagnitude
The Mean-Crossing Rate of the magnitude of horizontal acceleration.


MeanCrossingRateOfVerticalMagnitude

public static final FeatureTypes MeanCrossingRateOfVerticalMagnitude
The Mean-Crossing Rate of the magnitude of vertical acceleration.


EnergyOfMagnitude

public static final FeatureTypes EnergyOfMagnitude
The energy of the magnitude of linear acceleration.


EnergyOfHorizontalMagnitude

public static final FeatureTypes EnergyOfHorizontalMagnitude
The energy of the magnitude of horizontal acceleration.


EnergyOfVerticalMagnitude

public static final FeatureTypes EnergyOfVerticalMagnitude
The energy of the magnitude of vertical acceleration.


PeakFrequencyOfMagnitude

public static final FeatureTypes PeakFrequencyOfMagnitude
The peak frequency of the magnitude of linear acceleration.


PeakFrequencyOfHorizontalMagnitude

public static final FeatureTypes PeakFrequencyOfHorizontalMagnitude
The peak frequency of the magnitude of horizontal acceleration.


PeakFrequencyOfVerticalMagnitude

public static final FeatureTypes PeakFrequencyOfVerticalMagnitude
The peak frequency of the magnitude of vertical acceleration.


PeakAmplitudeOfMagnitude

public static final FeatureTypes PeakAmplitudeOfMagnitude
The amplitude of the peak frequency of the magnitude of linear acceleration.


PeakAmplitudeOfHorizontalMagnitude

public static final FeatureTypes PeakAmplitudeOfHorizontalMagnitude
The amplitude of the peak frequency of the magnitude of horizontal acceleration.


PeakAmplitudeOfVerticalMagnitude

public static final FeatureTypes PeakAmplitudeOfVerticalMagnitude
The amplitude of the peak frequency of the magnitude of vertical acceleration.


SignalEntropyOfMagnitude

public static final FeatureTypes SignalEntropyOfMagnitude
The entropy of the of the magnitude of linear acceleration.


SignalEntropyOfHorizontalMagnitude

public static final FeatureTypes SignalEntropyOfHorizontalMagnitude
The entropy of the of the magnitude of horizontal acceleration.


SignalEntropyOfVerticalMagnitude

public static final FeatureTypes SignalEntropyOfVerticalMagnitude
The entropy of the of the magnitude of vertical acceleration.


VerticalAndHorizontalCorrelation

public static final FeatureTypes VerticalAndHorizontalCorrelation
The cross correlation of vertical and horizontal acceleration.


AverageLongitude

public static final FeatureTypes AverageLongitude
The average longitude.


AverageLatitude

public static final FeatureTypes AverageLatitude
The average latitude.


AverageSpeed

public static final FeatureTypes AverageSpeed
The average speed (m/s).


MinimumLongitude

public static final FeatureTypes MinimumLongitude
The minimum longitude.


MinimumLatitude

public static final FeatureTypes MinimumLatitude
The minimum latitude.


MinimumSpeed

public static final FeatureTypes MinimumSpeed
The minimum speed (m/s).


MaximumLongitude

public static final FeatureTypes MaximumLongitude
The maximum longitude.


MaximumLatitude

public static final FeatureTypes MaximumLatitude
The maximum latitude.


MaximumSpeed

public static final FeatureTypes MaximumSpeed
The maximum speed (m/s).


RangeOfLongitude

public static final FeatureTypes RangeOfLongitude
The range of longitude (difference between maximum and minimum).


RangeOfLatitude

public static final FeatureTypes RangeOfLatitude
The range of latitude (difference between maximum and minimum).


RangeOfSpeed

public static final FeatureTypes RangeOfSpeed
The range of speed (difference between maximum and minimum).


MaxDistanceInLocations

public static final FeatureTypes MaxDistanceInLocations
The maximum distance between the longitude and latitude values of all locations.

Field Detail

knownFeatures

private static FeatureTypes[] knownFeatures
The known features.


visibleFeatures

private static FeatureTypes[] visibleFeatures
The visible features for the user.


accerometerFeatures

private static FeatureTypes[] accerometerFeatures
The known features.


CREATOR

public static final Parcelable.Creator<FeatureTypes> CREATOR
The Parcelable creator.

Method Detail

values

public static FeatureTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FeatureTypes c : FeatureTypes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FeatureTypes valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getGroup

public static final FeatureTypeGroups getGroup(FeatureTypes type)
Getter for the feature group.

Parameters:
type - the feature type
Returns:
the feature group

getShortGraphDescriptionResourceId

public static final int getShortGraphDescriptionResourceId(FeatureTypes type)
Getter for the short curve description resource identifier

Parameters:
type - the feature type
Returns:
the description of this feature

getDescriptionResourceId

public static final int getDescriptionResourceId(FeatureTypes type)
Getter for the feature description resource identifier

Parameters:
type - the feature type
Returns:
the description of this feature

getKnownFeatures

public static final FeatureTypes[] getKnownFeatures()
Method to request the known features for extraction.

Returns:
an array with the known features.

isKnown

public static final boolean isKnown(FeatureTypes type)
Test method if a feature is known.

Parameters:
type - the feature type
Returns:
true if the feature is known, otherwise the program does ignore it.

getVisibleFeatures

public static final FeatureTypes[] getVisibleFeatures()
Method to request the visible features.

Returns:
an array with the visible features.

getVisibleFeatures

public static final FeatureTypes[] getVisibleFeatures(Configuration configuration)
Method to request the visible features for a given configuration.

Parameters:
configuration - the configuration
Returns:
an array with the visible features.

isVisible

public static final boolean isVisible(FeatureTypes type)
Test method if a feature is just defined for internal usage (exploration).

Parameters:
type - the feature type
Returns:
true if the feature is only for internal use.

getAccelerometerFeatures

public static final FeatureTypes[] getAccelerometerFeatures()
Method to request the accelerometer features.

Returns:
an array with the accelerometer features.

isAccelerometerFeature

public static final boolean isAccelerometerFeature(FeatureTypes type)
Test method if a feature is an accelerometer feature.

Parameters:
type - the feature type
Returns:
true if the feature is only for internal use.

getColor

public static final int getColor(FeatureTypes type)
Getter for a identifying color.

Parameters:
type - the feature type
Returns:
the color for the graph of this feature

isVerticalAccelerationFeature

public static final boolean isVerticalAccelerationFeature(FeatureTypes featureType)
Test method if a feature is a vertical acceleration feature

Parameters:
featureType - the feature type to test
Returns:
true if the feature is a vertical acceleration feature, false otherwise

isHorizontalAccelerationFeature

public static final boolean isHorizontalAccelerationFeature(FeatureTypes featureType)
Test method if a feature is a horizontal acceleration feature

Parameters:
featureType - the feature type to test
Returns:
true if the feature is a horizontal acceleration feature, false otherwise

isLinearAccelrationFeature

public static final boolean isLinearAccelrationFeature(FeatureTypes featureType)
Test method if a feature is a linear acceleration feature

Parameters:
featureType - the feature type to test
Returns:
true if the feature is a linear acceleration feature, false otherwise

isFrequencyDomainFeature

public static final boolean isFrequencyDomainFeature(FeatureTypes featureType)
Test method if a feature is a frequency domain feature

Parameters:
featureType - the feature type to test
Returns:
true if the feature is a frequency domain feature, false otherwise

getComparator

public static final Comparator<FeatureTypes> getComparator()
Does create a comparator for feature types.

Returns:
a comparator for feature types

describeContents

public final int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public final void writeToParcel(Parcel dest,
                                int flags)
Specified by:
writeToParcel in interface Parcelable