Interface Edge

All Known Implementing Classes:
PlainEdge

public interface Edge

This interface specifies methods that can be used to get the source node, the target node, and the weight of a graph edge.


Method Summary
 int source()
           
 int target()
           
 double weight()
           
 

Method Detail

source

public int source()
Returns:
the source node of the edge

target

public int target()
Returns:
the target node of the edge

weight

public double weight()
Returns:
the weight of the edge