|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrouting.maxprop.MaxPropDijkstra
public class MaxPropDijkstra
Dijkstra's shortest path implementation for MaxProp Router module.
Constructor Summary | |
---|---|
MaxPropDijkstra(java.util.Map<java.lang.Integer,MeetingProbabilitySet> probs)
Constructor. |
Method Summary | |
---|---|
java.util.Map<java.lang.Integer,java.lang.Double> |
getCosts(java.lang.Integer from,
java.util.Set<java.lang.Integer> to)
Calculates total costs to the given set of target nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxPropDijkstra(java.util.Map<java.lang.Integer,MeetingProbabilitySet> probs)
probs
- A reference to the mapping of the known hosts meeting
probability setsMethod Detail |
---|
public java.util.Map<java.lang.Integer,java.lang.Double> getCosts(java.lang.Integer from, java.util.Set<java.lang.Integer> to)
from
- The index (address) of the start nodeto
- The address set of destination nodes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |