Метод |
Описание |
|
arcsFrom ( $vertex ) : Generator |
Enumerates each out-arc from the provided vertex via a generator. |
|
arcsTo ( $vertex ) : Generator |
Enumerates each in-arc from the provided vertex via a generator. |
|
getCycles ( ) : array |
Returns the cycles in this graph, if any. |
|
inDegreeOf ( object $vertex ) : integer |
Returns the in-degree (number of incoming edges) for the provided vertex. |
|
isAcyclic ( ) : boolean |
Indicates whether or not this graph is acyclic. |
|
outDegreeOf ( object $vertex ) : integer |
Returns the out-degree (count of outgoing edges) for the provided vertex. |
|
predecessorsOf ( object $vertex ) : Generator |
Enumerates each predecessor vertex to the provided vertex via a generator. |
|
successorsOf ( object $vertex ) : Generator |
Enumerates each successor vertex to the provided vertex via a generator. |
|
transpose ( ) : Gliph\Graph\Digraph |
Returns the transpose of this graph. |
|