at.tuwien.ifs.somtoolbox.visualization.minimumSpanningTree
Class Edge

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.visualization.minimumSpanningTree.Edge

public class Edge
extends Object

Represents an Edge in a (directed) graph

Version:
$Id: Edge.java 3544 2010-05-04 14:08:38Z mayer $
Author:
Thomas Kern, Magdalena Widl

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()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

private Node start

end

private Node end

weight

private double weight
Constructor Detail

Edge

public Edge(Node start,
            Node end,
            double weight)
Method Detail

getEnd

public Node getEnd()

getStart

public Node getStart()

getWeight

public double getWeight()

toString

public String toString()
Overrides:
toString in class Object