|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.visualization.minimumSpanningTree.Edge
public class Edge
Represents an Edge in a (directed) graph
Field Summary | |
---|---|
private Node |
end
|
private Node |
start
|
private double |
weight
|
Constructor Summary | |
---|---|
Edge(Node start,
Node end,
double weight)
|
Method Summary | |
---|---|
Node |
getEnd()
|
Node |
getStart()
|
double |
getWeight()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Node start
private Node end
private double weight
Constructor Detail |
---|
public Edge(Node start, Node end, double weight)
Method Detail |
---|
public Node getEnd()
public Node getStart()
public double getWeight()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |