|
SOLUTIONS
|
GRAPH UTILITIES 程序包 符号
WeakComponents
WeakComponents[g]
gives a list of all weakly connected components in the undirected graph g.
更多信息更多信息
- To use
, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"]. - A weakly connected component of a directed graph is a set of vertices such that for each pair of vertices, there is a path between them. The graph g is considered as undirected.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
