|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.graph.search.CostSearch.ComparableEdge
Description of the Class
Field Summary | |
private double |
cost
|
private Edge |
e
|
Constructor Summary | |
CostSearch.ComparableEdge(Edge e,
double cost)
Constructor for the ComparableEdge object |
Method Summary | |
int |
compareTo(java.lang.Object o)
Description of the Method |
double |
getCost()
Gets the cost attribute of the ComparableEdge object |
Edge |
getEdge()
Gets the edge attribute of the ComparableEdge object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Edge e
private double cost
Constructor Detail |
public CostSearch.ComparableEdge(Edge e, double cost)
e
- cost
- Method Detail |
public Edge getEdge()
public double getCost()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |