mam.internetworking
Class RoutingPaths
- Direct Known Subclasses:
- TaggedRoutingPaths
- public class RoutingPaths
- implements Serializable
ATTRIBUTE_ASSIMILATION_WEIGHT
public final static String ATTRIBUTE_ASSIMILATION_WEIGHT
ATTRIBUTE_DECAY_FACTOR
public final static String ATTRIBUTE_DECAY_FACTOR
DECAY_FACTOR
final static double DECAY_FACTOR
DEFAULT_ASSIMILATION_WEIGHT
final static double DEFAULT_ASSIMILATION_WEIGHT
m_debug
boolean m_debug
m_minimumLifeRequired
double m_minimumLifeRequired
m_quit
boolean m_quit
m_routingPaths
Map m_routingPaths
TAG_NAME
public final static String TAG_NAME
RoutingPaths
public RoutingPaths()
addRoutingPath
public synchronized void addRoutingPath(LocalRoutingPath newPath)
addRoutingPath
public synchronized void addRoutingPath(RemoteableRoutingPath newPath)
addRoutingPath
public synchronized void addRoutingPath(RemoteableRoutingPath newPath, double weight)
addRoutingPath
public synchronized void addRoutingPath(LocalRoutingPath newPath, double weight)
assimilate
void assimilate(RoutingPaths otherPaths)
getAllRoutingPaths
public synchronized Collection getAllRoutingPaths()
getMinimumLifeRequired
public double getMinimumLifeRequired()
getNRoutingPaths
public synchronized Collection getNRoutingPaths(int numberOfRoutesDesired)
getOneRoutingPath
public synchronized AbstractRoutingPath getOneRoutingPath()
halfLife
synchronized void halfLife()
setMinimumLifeRequired
public synchronized void setMinimumLifeRequired(double minimumLifeRequired)
toDebugString
public String toDebugString()