|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.walend.measured.test.TestGEPathMeter
This simple path meter returns 59 to cross an edge.
| Constructor Summary | |
TestGEPathMeter()
|
|
| Method Summary | |
double |
costToCross(java.lang.Object fromNode,
java.lang.Object toNode)
The cost to cross an edge. |
int |
intCostToCross(java.lang.Object fromNode,
java.lang.Object toNode)
The cost to cross an edge. |
boolean |
negativeWeightEdges()
Returns true if this PathMeter can return negative weight edges, false if not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestGEPathMeter()
| Method Detail |
public double costToCross(java.lang.Object fromNode,
java.lang.Object toNode)
costToCross in interface GEPathMeter
public int intCostToCross(java.lang.Object fromNode,
java.lang.Object toNode)
intCostToCross in interface GEPathMeterpublic boolean negativeWeightEdges()
negativeWeightEdges in interface GEPathMeter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||