org._3pq.jgrapht.edge
Class UndirectedEdge
- Cloneable, Edge, Serializable
public class UndirectedEdge
A implementation for an undirected edge.
String | toString() - Returns a string representation of this undirected edge.
|
UndirectedEdge
public UndirectedEdge(Object sourceVertex,
Object targetVertex)
toString
public String toString()
Returns a string representation of this undirected edge. The
representation is a curly-braced pair {v1,v2} where v1,v2 are the two
endpoint vertices of this edge.
- a string representation of this directed edge.