StrongComponents

StrongComponents[g]
gives a list of all strongly connected components in the directed graph g.

更多信息更多信息

  • To use , you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
  • A strongly connected component of a directed graph is a set of vertices such that there is a path connecting any two vertices.
New to Mathematica? Find your learning path »
Have a question? Ask support »