jdsl.core.ref
Class SILEdge

java.lang.Object
  |
  +--jdsl.core.ref.HashtableDecorable
        |
        +--jdsl.core.ref.SILPosition
              |
              +--jdsl.core.ref.SILEdge

public class SILEdge
extends jdsl.core.ref.SILPosition
implements Edge

An edge in a SILGraph.

Author:
Benoit Hudson (bh), Mike Boilen (mgb)
See Also:
Serialized Form

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.core.ref.SILPosition
container, element, toString
 
Methods inherited from class jdsl.core.ref.HashtableDecorable
attributes, destroy, get, has, set
 
Methods inherited from class java.lang.Object
equals, 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.