unifier
Class ModeratePerspectiveUnifier
java.lang.Object
|
+--connect.socket.SocketComponentTemplate
|
+--unifier.BasicPerspectiveUnifier
|
+--unifier.ModeratePerspectiveUnifier
- All Implemented Interfaces:
- Component, PerspectiveUnifier
- public class ModeratePerspectiveUnifier
- extends BasicPerspectiveUnifier
This class provides for a moderately complex implementation that
will look for an object close to where a new object is seen and
then report that that object has moved instead of a new object
showing up.
- Version:
- $Revision: 1.12 $
- Author:
- Dave Jurgens
|
Field Summary |
protected static double |
MAX_MOVEMENT_DISTANCE
This variable is the maxium distance on the unit square that
we can accept that a WhatWhere will move. |
private static long |
serialVersionUID
|
|
Method Summary |
static void |
main(String[] args)
|
world.WorldState |
unify(world.WorldState current,
world.WorldImage deltaWorld)
Returns a new WorldState object that reflects the
changes depicted in the WorldImage. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
MAX_MOVEMENT_DISTANCE
protected static final double MAX_MOVEMENT_DISTANCE
- This variable is the maxium distance on the unit square that
we can accept that a WhatWhere will move. This implementation
does not count time as a factor in distance traveled.
- See Also:
- Constant Field Values
ModeratePerspectiveUnifier
public ModeratePerspectiveUnifier()
unify
public world.WorldState unify(world.WorldState current,
world.WorldImage deltaWorld)
- Description copied from class:
BasicPerspectiveUnifier
- Returns a new WorldState object that reflects the
changes depicted in the WorldImage.
- Specified by:
unify in interface PerspectiveUnifier- Overrides:
unify in class BasicPerspectiveUnifier
- Parameters:
current - the current list of known objectsdeltaWorld - processed information from a ObjectLocater
- Returns:
- the new world state with updated information
main
public static void main(String[] args)
To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.