All iterators returned from graphs have snapshot semantics. That is, their contents are fixed at the moment the iterator is returned and remain unchanged even if the container is changed before the iterator has been exhausted.
No order is guaranteed on the vertices or edges of the graph (the sets of vertices and edges are just that: unordered sets).
Some methods dealing with edge directions take a constant, or an OR of constants, from the EdgeDirection
interface. For instance,
incidentEdges(v)
gets all edges incident on v
,
incidentEdges(v, EdgeDirection.IN)
gets all edges directed toward v
, and
incidentEdges(v, EdgeDirection.IN | EdgeDirection.OUT)
gets all directed edges incident on v
.
@see ModifiableGraph
@see EdgeDirection
@author Luca Vismara (lv)
@author Mark Handy
@version JDSL 2.1.1
|
|
|
|
|
|