next up previous contents
Next: The cricketdaemon.clientlib.data.Position Class Up: Clientlib API Previous: The cricketdaemon.clientlib.data.BeaconRecord Class   Contents

The cricketdaemon.clientlib.data.DistanceStat Class

DistanceStat represents the statistics of the distance samples from this beacon in CricketDaemon's history window. It contains the following fields:

public double dist;
public double median;
public double mean;
public double mode;
public double max;
public double min;
public double stddev;
public double variance;
public ArrayList samples;

dist is the filtered distance estimate computed by CricketDaemon. By default, this is the mode value of the distance samples collected in the history window.
median is the median value of the distance samples collected in the history window.
mean is the mean value of the distance samples collected in the history window.
mode is the mode value of the distance samples collected in the history window.
max is the maximum value of the distance samples collected in the history window.
min is the minimum value of the distance samples collected in the history window.
stddev is the standard deviation of the distance samples collected in the history window.
variance is the variance of the distance samples collected in the history window.
samples is an ArrayList of Samples containing all the measured distance samples from a beacon currently in CricketDaemon's history window.


next up previous contents
Next: The cricketdaemon.clientlib.data.Position Class Up: Clientlib API Previous: The cricketdaemon.clientlib.data.BeaconRecord Class   Contents
Michel Goraczko 2004-12-02