A vertex of a graph. The vertex data (v) is optional, and if it is None, we will consider the vertex as a dummy node. Dummy nodes are useful for representing entry/exit node in a CFG.
Constructor | Description |
|
|
|
|
|
Instance member | Description |
|
Each vertex has a unique ID attached to it. We sometimes need to access ID of dummy vertex for example calculating dominators.
|
Full Usage:
this.IsDummy()
Returns: bool
|
|
Full Usage:
this.Preds
Modifiers: abstract |
|
Full Usage:
this.Succs
Modifiers: abstract |
|
Full Usage:
this.VData
Returns: 'V
|
|