N
- The class representing the nodes of the graphE
- The class representing the edges of the graphpublic static interface Graph.Segment<N,E>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
N |
getDestination()
Get the destination node
|
E |
getEdge()
Get the edge for this segment
|
N |
getOrigin()
Get the origin node
|
boolean |
isDirected()
Return whether this segment is directed
|
N getDestination()
E getEdge()
N getOrigin()
boolean isDirected()