Method |
Description |
|
connect ( Doctrine\OrientDB\Graph\VertexInterface $vertex, integer $distance = 1 ) |
Connects the vertex to another $vertex. |
|
getConnections ( ) : Array |
Returns the connections of the current vertex. |
|
getId ( ) : mixed |
Returns the identifier of this vertex. |
|
getPotential ( ) : integer |
Returns vertex's potential. |
|
getPotentialFrom ( ) : Vertex |
Returns the vertex which gave to the current vertex its potential. |
|
isPassed ( ) : boolean |
Returns whether the vertex has passed or not. |
|
markPassed ( ) |
Marks this vertex as passed, meaning that, in the scope of a graph, he
has already been processed in order to calculate its potential. |
|
setPotential ( integer $potential, Doctrine\OrientDB\Graph\VertexInterface $from ) : boolean |
Sets the potential for the vertex, if the vertex has no potential or the
one it has is higher than the new one. |
|