|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mascoptDev.algos.digraph.RandomWalkPath
Provides algorithm of random walk, calculate randomly a path for the request. the and the paths corresponding to this node. After constructing the RandomWalkPath object with a graph and the source, two steps are necessary to obtain
| Field Summary | |
static String |
MIN_FLOW
The string which is used to give the min flow on the path |
| Constructor Summary | |
RandomWalkPath(DiGraph g,
Arc r)
Constructor. |
|
| Method Summary | |
abstract double |
getFlowCableRequest(Arc c)
Return the flow allocated at arc c for request. |
DiPath |
run()
return a chain which is caculated randomly for request |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String MIN_FLOW
| Constructor Detail |
public RandomWalkPath(DiGraph g,
Arc r)
r - Arc
representing the request.| Method Detail |
public abstract double getFlowCableRequest(Arc c)
public DiPath run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||