gov.nasa.javaGenes.graph
Class DirectedEdge
java.lang.Object
gov.nasa.alsUtility.Mark
gov.nasa.javaGenes.graph.GraphElement
gov.nasa.javaGenes.graph.Edge
gov.nasa.javaGenes.graph.DirectedEdge
- All Implemented Interfaces:
- java.lang.Cloneable, Compatible, java.io.Serializable
- public class DirectedEdge
- extends Edge
- See Also:
- Serialized Form
Fields inherited from class gov.nasa.javaGenes.graph.Edge |
vertices |
Methods inherited from class gov.nasa.javaGenes.graph.Edge |
canAcceptVerticesOf, clone, commonVertex, dissimilarEdgeCompatibleWithVertices, doesConnect, getTypeString, getVertex, isCompatible, isLegal, isSame, makeCompatibleWithVertices, otherVertex, removeVertices, replaceVertex, shallowCopyEdge |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DirectedEdge
public DirectedEdge()
setVertices
public void setVertices(Vertex in,
Vertex out)
- not implemented
- Overrides:
setVertices
in class Edge
setDirectedVertices
public void setDirectedVertices(DirectedVertex in,
DirectedVertex out)
setInVertex
public void setInVertex(DirectedVertex vertex)
setOutVertex
public void setOutVertex(DirectedVertex vertex)
getInVertex
public DirectedVertex getInVertex()
getOutVertex
public DirectedVertex getOutVertex()
isInVertex
public boolean isInVertex(Vertex vertex)
isOutVertex
public boolean isOutVertex(Vertex vertex)
toString
public java.lang.String toString()
- Overrides:
toString
in class Edge
stealVertices
public void stealVertices(Edge e)
- it is an error to call this
- Overrides:
stealVertices
in class Edge
- Parameters:
e
- will lose its vertices! Be careful using it after this call.