Method |
Description |
|
__construct ( ) |
|
|
addEdge ( Vertex $source, Vertex $target ) |
Add a directed edge if it does not already exist |
|
addVertex ( Vertex $v ) |
Add a vertex to the graph without edge
Note : Idempotent method |
|
getEdgeIterator ( Vertex $v ) |
{@inheritDoc} |
|
getEdgeSet ( ) : Edge[] |
Get the edges set |
|
getPartition ( ) |
{@inheritDoc} |
|
getSuccessor ( Vertex $v ) : Vertex[] |
Returns successor(s) of a given vertex (a.k.a all vertices targeted
by edges coming from the given vertex) |
|
getVertexSet ( ) : Vertex[] |
Get the vertices in the graph |
|
searchEdge ( Vertex $source, Vertex $target ) : Edge |
Searches an existing directed edge between two vertices |
|