Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Gliph
Graph
Graph
adjacentTo
Gliph\Graph\Graph::adjacentTo PHP Method
Graph Interface Documentation
Mostra file
Open project: sdboyer/gliph
adjacentTo()
public
method
A vertex is adjacent to another vertex if they share an edge. Edge direction, if any, does not matter. The generator yields only a value: the adjacent vertex.
public
adjacentTo
(
object
$vertex
) :
Generator
$vertex
object
The vertex whose adjacent vertices should be visited.
return
Generator
A generator that yields adjacent vertices as values.
public function adjacentTo($vertex);
Graph
adjacentTo
degreeOf
edges
hasVertex
incidentTo
order
size
vertices