Sim.Routing.GPSR
Class ExpiringLocation

java.lang.Object
  extended by Sim.Routing.GPSR.ExpiringLocation

public class ExpiringLocation
extends java.lang.Object

Location in the GPSR algorithms table that is expiring. Once a location expires, that node is not considered nearby anymore.


Method Summary
 Location getLoc()
          get location of this known neighbor.
 double getTimeStored()
          get the time of this locations storage.
 void setLoc(Location newLocation, java.lang.Double time)
          Change this objects time and location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTimeStored

public double getTimeStored()
get the time of this locations storage.

Returns:
time stored

getLoc

public Location getLoc()
get location of this known neighbor.

Returns:

setLoc

public void setLoc(Location newLocation,
                   java.lang.Double time)
Change this objects time and location.