Uses of Class
FinchSensor

Uses of FinchSensor in <Unnamed>
 

Methods in <Unnamed> that return FinchSensor
static FinchSensor sensorDriver.median(java.util.TreeSet<FinchSensor> log)
          Return the sensor sample that is the median value of the key used to sort a set.
 

Methods in <Unnamed> that return types with arguments of type FinchSensor
static java.util.TreeSet<FinchSensor> sensorDriver.ReadSensors(finch.Finch myFinch)
          Read a sequence of samples from the Finch sensors
 

Methods in <Unnamed> with parameters of type FinchSensor
 int XaccelComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: X acceleration sensor
 int ZaccelComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: Z acceleration
 int LightComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: light sensor
 int TemperatureComparator.compare(FinchSensor obj1, FinchSensor obj2)
          Compare two FinchSensor objects: temperature sensor
 int FinchSensor.compareTo(FinchSensor obj)
          Compare this FinchSensor to obj using the "natural ordering" (by time that the sample was taken)
abstract  double SensorComparator.doubleValue(FinchSensor obj)
          Return the value of obj that is specified by the instantiation of the child class.
 double XaccelComparator.doubleValue(FinchSensor obj)
           
 double ZaccelComparator.doubleValue(FinchSensor obj)
           
 double LightComparator.doubleValue(FinchSensor obj)
           
 double TemperatureComparator.doubleValue(FinchSensor obj)
           
 

Method parameters in <Unnamed> with type arguments of type FinchSensor
static void sensorDriver.displaySensors(java.util.TreeSet<FinchSensor> sensors)
          Display the sequence of sensor samples in the given array Algorithm:
- Loop over each sensor in the TreeSet and display it
static void sensorDriver.displayStats(java.util.TreeSet<FinchSensor> log, SensorComparator comp)
          For the given sensor channel (as indicated by comp), display: The mean value of this sensor channel the entire sensor sample for the minimum, median and maximum channel values Algorithm:
1.
static double sensorDriver.mean(java.util.TreeSet<FinchSensor> log, SensorComparator comp)
          Compute the mean value of a some sensor value across a set of FinchSensors.
static FinchSensor sensorDriver.median(java.util.TreeSet<FinchSensor> log)
          Return the sensor sample that is the median value of the key used to sort a set.