N = neighbors(H,V)
N = neighbors(H,n)
N = neighbors(H,L)
The vertices adjacent to vertex V are called the neighbors of V. The neighbors of a list of vertices L are those vertices that are not in L and are adjacent to a vertex in L.
|
|
|
|
|
|
The object neighbors is a method function.