uwcse.location.objects
Class FixedSensorObject

java.lang.Object
  |
  +--uwcse.location.objects.PhysicalObject
        |
        +--uwcse.location.objects.FixedSensorObject
All Implemented Interfaces:
LocationSensor
Direct Known Subclasses:
CricketListener, LMS200Sensor, MoteSensor, VersusSensor

public abstract class FixedSensorObject
extends PhysicalObject
implements LocationSensor

An abstract class to describe a generic fixed sensor object.

Version:
$Revision: 1.5 $
Author:
Jeffrey Hightower

Field Summary
 
Fields inherited from class uwcse.location.objects.PhysicalObject
ANONYMOUS_NAME, m_name
 
Constructor Summary
FixedSensorObject()
          Create an anonymous physical object.
FixedSensorObject(String name)
          Create a named physical object.
 
Method Summary
 double likelihood(Measurement meas, LocationReport sensorLocation, State objectState)
          This default likelihood method simply returns 1.0 having the effect of every measurement being equally and completely likely.
 
Methods inherited from class uwcse.location.objects.PhysicalObject
getName, newTracker, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedSensorObject

public FixedSensorObject()
Create an anonymous physical object.


FixedSensorObject

public FixedSensorObject(String name)
Create a named physical object.

Method Detail

likelihood

public double likelihood(Measurement meas,
                         LocationReport sensorLocation,
                         State objectState)
This default likelihood method simply returns 1.0 having the effect of every measurement being equally and completely likely.

Specified by:
likelihood in interface LocationSensor
See Also:
Tracker.update(Measurement,LocationSensor,LocationReport)


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