n = countGraphs(L, s)
n = countGraphs(L, h)
n = countGraphs(L, l)
Counts the number of graphs in a list that satisfy certain restraints as given in the filter (see buildGraphFilter). Notice that the input list can be graphs represented as instances of the class Graph or in a nauty-based String format.
For example, we can count the number of connected graphs on five vertices.
|
|
The object countGraphs is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Nauty.m2:786:0.