public class DirectedEdge extends DefaultEdge
DEFAULT_EDGE_WEIGHT
Constructor and Description |
---|
DirectedEdge(java.lang.Object sourceVertex,
java.lang.Object targetVertex) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a string representation of this directed edge.
|
clone, containsVertex, getSource, getTarget, getWeight, oppositeVertex, setWeight
public DirectedEdge(java.lang.Object sourceVertex, java.lang.Object targetVertex)
public java.lang.String toString()
toString
in class java.lang.Object