All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.ants.route.DynamicRouteEntry
java.lang.Object
|
+----edu.utah.janos.route.RouteEntry
|
+----edu.utah.janos.ants.route.DynamicRouteEntry
class DynamicRouteEntry
extends edu.utah.janos.route.RouteEntry
{
// Fields 3
boolean change;
private int cost;
private long expires;
// Constructors 2
public DynamicRouteEntry(DynamicRouteEntry);
public DynamicRouteEntry(int, int, String) throws NumberFormatException, AddressFormatException, NoSuchNodeAddress;
// Methods 8
public boolean changed();
public void clearChanged();
public int getCost();
public long getExpiration();
public void markChanged();
public void setCost(int);
public void setExpiration(long);
public String toString();
}
A DynamicRouteEntry is a RouteEntry with weight.
Unlike a base RouteEntry, which is immutable, a
DynamicRouteEntry's cost, expires and change fields
are mutable.
%AUTHOR_PAT%
%AUTHOR_DJW%
private int cost
private long expires
boolean change
public DynamicRouteEntry(int dest,
int next,
String physAddr) throws NumberFormatException, AddressFormatException, NoSuchNodeAddress
public DynamicRouteEntry(DynamicRouteEntry other)
public int getCost()
public void setCost(int cost)
public long getExpiration()
public void setExpiration(long expires)
public boolean changed()
public void markChanged()
public void clearChanged()
public String toString()
- Overrides:
- toString in class RouteEntry
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7