harpoon.Util.Collections
Interface Graph.Edge<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>

All Known Implementing Classes:
AbstractGraph.Edge, CFGEdge, Edge, InstrEdge
Enclosing interface:
Graph<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>

public static interface Graph.Edge<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>

This class represents edges between Nodes in a Graph.

Version:
$Id: Graph.java,v 1.3 2004/02/08 01:56:38 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 N from()
          Returns the node this edge comes from.
 N to()
          Returns the node this edges goes to.
 

Method Detail

from

N from()
Returns the node this edge comes from.


to

N to()
Returns the node this edges goes to.