next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Nauty :: countGraphs

countGraphs -- counts the number of graphs in the list with given properties

Synopsis

Description

Counts the number of graphs in a list which satisfy certain restraints as given in the filter (see buildGraphFilter). Notice that the input list can be graphs in both Graph format and String format.
i1 : L = generateGraphs 5;
i2 : countGraphs(L, hashTable {"Connectivity" => 0, "NegateConnectivity" => true}) -- the number of connected graphs on five vertices

o2 = 21

See also

Ways to use countGraphs :