Метод |
Описание |
|
addEdge ( Vertex $source, Vertex $target ) |
Add a (un)directed edge if it does not already exist |
|
addVertex ( Vertex $v ) |
Add a vertex to the graph without edge |
|
getEdgeIterator ( Vertex $v ) : Iterator |
Get an iterator on edges for one vertex |
|
getEdgeSet ( ) : array |
Get the edges set |
|
getPartition ( ) |
Returns a list of subgraph |
|
getSuccessor ( Vertex $v ) : null | array |
Get successors of a vertex |
|
getVertexSet ( ) : array |
Get the vertices in the graph |
|
searchEdge ( Vertex $source, Vertex $target ) : Edge |
Searches an existing (directed or not) edge between two vertices |
|