|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
AdjacencyList
AdjacencyList[g, v]
gives a list of vertices adjacent to vertex v.
AdjacencyList[g, patt]
gives a list of vertices adjacent to vertices that match the pattern patt.
AdjacencyList[g, patt, d]
gives a list of vertices that are at distance at most d.
DetailsDetails
- AdjacencyList returns the list of vertices in the order used by the graph g.
- AdjacencyList[g, v] is equivalent to AdjacencyList[g, v, 1].
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



