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