uwcse.location.core
Class StateLocationReport

java.lang.Object
  |
  +--uwcse.location.core.LocationReport
        |
        +--uwcse.location.core.StateLocationReport
Direct Known Subclasses:
MeanLocationReport

public class StateLocationReport
extends LocationReport

A state location report contains a State of an object.

Version:
$Revision: 1.3 $
Author:
Jeffrey Hightower

Constructor Summary
StateLocationReport()
          Create an empty state location report using a null state.
StateLocationReport(State state)
          Create a state location report using the state.
StateLocationReport(StateLocationReport report)
          Create a location report as a copy of the given one.
StateLocationReport(Tracker tracker, State state)
          Create a state location report using the given tracker and state.
 
Method Summary
 State getMostLikelyState()
          The most likely state of this report is just the state so this method simply returns the state.
 State getState()
          Get the state.
 
Methods inherited from class uwcse.location.core.LocationReport
getLastMeasurement, getTimestamp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateLocationReport

public StateLocationReport()
Create an empty state location report using a null state.


StateLocationReport

public StateLocationReport(State state)
Create a state location report using the state.


StateLocationReport

public StateLocationReport(Tracker tracker,
                           State state)
Create a state location report using the given tracker and state.


StateLocationReport

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

Method Detail

getMostLikelyState

public State getMostLikelyState()
The most likely state of this report is just the state so this method simply returns the state.

See Also:
getState()

getState

public State getState()
Get the state.



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