com.hp.hpl.guess
Class DirectedEdge

java.lang.Object
  extended byedu.uci.ics.jung.utils.UserDataDelegate
      extended byedu.uci.ics.jung.graph.impl.AbstractElement
          extended byedu.uci.ics.jung.graph.impl.AbstractArchetypeEdge
              extended byedu.uci.ics.jung.graph.impl.AbstractSparseEdge
                  extended bycom.hp.hpl.guess.Edge
                      extended bycom.hp.hpl.guess.DirectedEdge
All Implemented Interfaces:
ArchetypeEdge, Cloneable, Comparable, DirectedEdge, Edge, Element, GraphElement, UserDataContainer

public class DirectedEdge
extends Edge
implements DirectedEdge

an implementation of a graph edge


Nested Class Summary
 
Nested classes inherited from class edu.uci.ics.jung.utils.UserDataContainer
UserDataContainer.CopyAction
 
Constructor Summary
DirectedEdge(int id, Node source, Node dest)
           
DirectedEdge(Node source, Node dest)
           
 
Method Summary
 Vertex getDest()
           
 Vertex getDestination()
           
 Node getNode1()
           
 Node getNode2()
           
 Vertex getSource()
           
 String toString()
           
 
Methods inherited from class com.hp.hpl.guess.Edge
__firstTouched, __getattr__, __getitem__, __getitem__, __lastTouched, __setattr__, compareTo, edgeWeight, getID, getMaxID, getRep, hide, readjust, show, updateColumn, values
 
Methods inherited from class edu.uci.ics.jung.graph.impl.AbstractSparseEdge
copy, getEndpoints, getIncidentVertices, getOpposite, isIncident, numVertices
 
Methods inherited from class edu.uci.ics.jung.graph.impl.AbstractArchetypeEdge
equals, getEqualEdge, getEquivalentEdge, getIncidentElements
 
Methods inherited from class edu.uci.ics.jung.graph.impl.AbstractElement
getGraph, hashCode
 
Methods inherited from class edu.uci.ics.jung.utils.UserDataDelegate
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDataFactory, setUserDatum
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.uci.ics.jung.graph.Edge
getEndpoints, getOpposite
 
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeEdge
copy, getEqualEdge, getEquivalentEdge, getIncidentVertices, isIncident, numVertices
 
Methods inherited from interface edu.uci.ics.jung.graph.Element
getGraph, getIncidentElements
 
Methods inherited from interface edu.uci.ics.jung.utils.UserDataContainer
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum
 

Constructor Detail

DirectedEdge

public DirectedEdge(int id,
                    Node source,
                    Node dest)

DirectedEdge

public DirectedEdge(Node source,
                    Node dest)
Method Detail

toString

public String toString()

getSource

public Vertex getSource()
Specified by:
getSource in interface DirectedEdge

getDest

public Vertex getDest()
Specified by:
getDest in interface DirectedEdge

getDestination

public Vertex getDestination()

getNode1

public Node getNode1()
Specified by:
getNode1 in class Edge

getNode2

public Node getNode2()
Specified by:
getNode2 in class Edge