Class Edge

java.lang.Object
  extended by Edge
All Implemented Interfaces:
java.lang.Comparable<Edge>

public class Edge
extends java.lang.Object
implements java.lang.Comparable<Edge>

Klasse zur Repraesentation einer Kante


Field Summary
 double cost
           
 Vertex dest
           
 
Constructor Summary
Edge(Vertex d, double c)
           
 
Method Summary
 int compareTo(Edge other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dest

public Vertex dest

cost

public double cost
Constructor Detail

Edge

public Edge(Vertex d,
            double c)
Method Detail

compareTo

public int compareTo(Edge other)
Specified by:
compareTo in interface java.lang.Comparable<Edge>