jdsl
Class SILEdge

java.lang.Object
  |
  +--jdsl.SILPosition
        |
        +--jdsl.SILEdge

public class SILEdge
extends jdsl.SILPosition
implements Edge

An edge in a SILGraph.


Constructor Summary
SILEdge(Container cont, java.lang.Object elt, Vertex v1, Vertex v2, boolean directed)
          Construct a new edge for use in a SimpleIncidenceListGraph.
 
Methods inherited from class jdsl.SILPosition
container, element, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SILEdge

public SILEdge(Container cont,
               java.lang.Object elt,
               Vertex v1,
               Vertex v2,
               boolean directed)
Construct a new edge for use in a SimpleIncidenceListGraph.
Parameters:
cont - The graph
elt - The element associated with this position
v1 - The first endpoint (the origin if directed)
v2 - The second endpoint (the destination if directed)
directed - If true, the edge is directed.