uwcse.location.core
Class ParticleLocationReport

java.lang.Object
  |
  +--uwcse.location.core.LocationReport
        |
        +--uwcse.location.core.StateLocationReport
              |
              +--uwcse.location.core.MeanLocationReport
                    |
                    +--uwcse.location.core.ParticleLocationReport

public class ParticleLocationReport
extends MeanLocationReport

A particle location report contains a list of all or some of the samples of the full particle filter for an object.

Version:
$Revision: 1.3 $
Author:
Jeffrey Hightower

Constructor Summary
ParticleLocationReport()
          Create a particle location report with an empty sample list.
ParticleLocationReport(ParticleLocationReport report)
          Create a location report as a copy of the given one.
ParticleLocationReport(State mean, State standardDeviation, Collection samples)
          Create a particle location report using the given mean, standard deviation, and list of samples.
ParticleLocationReport(Tracker tracker, State mean, State standardDeviation, Collection samples)
          Create a particle location report using the given tracker, mean, standard deviation, and list of samples.
 
Method Summary
 List getSamples()
          Get an immutable collection of samples in this report.
 String toString()
          Return a string representation of this location report.
 
Methods inherited from class uwcse.location.core.MeanLocationReport
getMean, getMostLikelyState, getStandardDeviation
 
Methods inherited from class uwcse.location.core.StateLocationReport
getState
 
Methods inherited from class uwcse.location.core.LocationReport
getLastMeasurement, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParticleLocationReport

public ParticleLocationReport()
Create a particle location report with an empty sample list.


ParticleLocationReport

public ParticleLocationReport(State mean,
                              State standardDeviation,
                              Collection samples)
Create a particle location report using the given mean, standard deviation, and list of samples.


ParticleLocationReport

public ParticleLocationReport(Tracker tracker,
                              State mean,
                              State standardDeviation,
                              Collection samples)
Create a particle location report using the given tracker, mean, standard deviation, and list of samples.


ParticleLocationReport

public ParticleLocationReport(ParticleLocationReport report)
Create a location report as a copy of the given one.

Method Detail

getSamples

public List getSamples()
Get an immutable collection of samples in this report.


toString

public String toString()
Return a string representation of this location report.

Overrides:
toString in class MeanLocationReport


This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/

© Copyright 2004 University of Washington CSE