next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
NautyGraphs :: filterGraphs

filterGraphs -- filters (i.e., selects) graphs in a list for given properties

Synopsis

Description

Filters the graphs in a list which 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 filter for the connected graphs on five vertices.
L = generateGraphs 5;
filterGraphs(L, {"Connectivity" => 0, "NegateConnectivity" => true})

See also

Ways to use filterGraphs :