org.android.activityminer.logic.features
Class MaxDistanceInLocationsFeature

Package class diagram package MaxDistanceInLocationsFeature
java.lang.Object
  extended by org.android.activityminer.logic.features.AbstractFeature
      extended by org.android.activityminer.logic.features.MaxDistanceInLocationsFeature
All Implemented Interfaces:
Feature

public final class MaxDistanceInLocationsFeature
extends AbstractFeature

Implementation of the maximum difference in pairwise sample locations feature.


Field Summary
private  MaxDistanceInLocationsCalculator calculator
          The calculator providing the maximum pairwise location distance.
 
Fields inherited from class org.android.activityminer.logic.features.AbstractFeature
featureType
 
Constructor Summary
MaxDistanceInLocationsFeature(MaxDistanceInLocationsCalculator calculator)
          Constructor
 
Method Summary
 Double getFeatureValue()
          Getter for the feature value
 Object getMaxDistanceInLocationCalculator()
          getter for the calculator of the maximum pairwise location distance.
 
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
 

Field Detail

calculator

private final MaxDistanceInLocationsCalculator calculator
The calculator providing the maximum pairwise location distance.

Constructor Detail

MaxDistanceInLocationsFeature

public MaxDistanceInLocationsFeature(MaxDistanceInLocationsCalculator calculator)
Constructor

Parameters:
calculator - the max distance in location calculator
Method Detail

getFeatureValue

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

Returns:
the feature value

getMaxDistanceInLocationCalculator

public Object getMaxDistanceInLocationCalculator()
getter for the calculator of the maximum pairwise location distance.

Returns:
the maximum distance in location calculator