The base class for all graph component classes. Maintains flags of use in generic graph algorithms. Provides two flags: marked - typically this is used to indicate a state that persists for the course of the graph's lifetime. For instance, it can be used to indicate that a component has been logically deleted from the graph. visited - this is used to indicate that a component has been processed or visited by an single graph algorithm. For instance, a breadth-first traversal of the graph might use this to indicate that a node has already been traversed. The visited flag may be set and cleared many times during the lifetime of a graph.
More...
|
bool | IsVisited [get] |
| Tests if a component has been visited during the course of a graph algorithm. More...
|
|
bool | Visited [get, set] |
| Gets/Sets the visited flag for this component. More...
|
|
bool | IsMarked [get] |
| Tests if a component has been marked at some point during the processing involving this graph. More...
|
|
bool | Marked [get, set] |
| Gets/Sets the marked flag for this component. More...
|
|
abstract bool | IsRemoved [get] |
| Tests whether this component has been removed from its containing graph. More...
|
|
The base class for all graph component classes. Maintains flags of use in generic graph algorithms. Provides two flags: marked - typically this is used to indicate a state that persists for the course of the graph's lifetime. For instance, it can be used to indicate that a component has been logically deleted from the graph. visited - this is used to indicate that a component has been processed or visited by an single graph algorithm. For instance, a breadth-first traversal of the graph might use this to indicate that a node has already been traversed. The visited flag may be set and cleared many times during the lifetime of a graph.
static GraphComponent NetTopologySuite.Planargraph.GraphComponent.GetComponentWithVisitedState |
( |
IEnumerator |
i, |
|
|
bool |
visitedState |
|
) |
| |
|
static |
static void NetTopologySuite.Planargraph.GraphComponent.SetMarked |
( |
IEnumerator |
i, |
|
|
bool |
marked |
|
) |
| |
|
static |
static void NetTopologySuite.Planargraph.GraphComponent.SetVisited |
( |
IEnumerator |
i, |
|
|
bool |
visited |
|
) |
| |
|
static |
bool NetTopologySuite.Planargraph.GraphComponent.IsMarked |
|
get |
Tests if a component has been marked at some point during the processing involving this graph.
abstract bool NetTopologySuite.Planargraph.GraphComponent.IsRemoved |
|
get |
Tests whether this component has been removed from its containing graph.
bool NetTopologySuite.Planargraph.GraphComponent.IsVisited |
|
get |
Tests if a component has been visited during the course of a graph algorithm.
bool NetTopologySuite.Planargraph.GraphComponent.Marked |
|
getset |
Gets/Sets the marked flag for this component.
bool NetTopologySuite.Planargraph.GraphComponent.Visited |
|
getset |
Gets/Sets the visited flag for this component.
The documentation for this class was generated from the following file:
- NetTopologySuite/NetTopologySuite/Planargraph/GraphComponent.cs