|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
VertexComponent
VertexComponent[g, {v1, v2, ...}]
gives the vertices in the graph g that have a path to at least one of
,
, ....
VertexComponent[g, {v1, v2, ...}, k]
gives the vertices with a path to at least one of
,
, ... of at most length k.
DetailsDetails
- VertexComponent works for any undirected graph object.
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


