|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.graph.domain.basic.GraphWrapper
org.apache.commons.graph.domain.basic.WeightedGraphWrapper
Description of the Class
Field Summary | |
private java.util.Map |
weights
|
Fields inherited from class org.apache.commons.graph.domain.basic.GraphWrapper |
|
Constructor Summary | |
WeightedGraphWrapper(Graph graph)
Constructor for the WeightedGraphWrapper object |
Method Summary | |
double |
getWeight(Edge e)
Gets the weight attribute of the WeightedGraphWrapper object |
void |
setWeight(Edge e,
double weight)
Sets the weight attribute of the WeightedGraphWrapper object |
Methods inherited from class org.apache.commons.graph.domain.basic.GraphWrapper |
getEdges, getEdges, getVertices, getVertices, setGraph |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.graph.Graph |
getEdges, getEdges, getVertices, getVertices |
Field Detail |
private java.util.Map weights
Constructor Detail |
public WeightedGraphWrapper(Graph graph)
graph
- Method Detail |
public double getWeight(Edge e)
getWeight
in interface WeightedGraph
public void setWeight(Edge e, double weight)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |