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

neighborhoodComplements -- complements the neighborhood for each vertex, individually

Synopsis

Description

The method creates a list of graphs, one for each vertex of the original graph G. The graph associated to a vertex v of G has the neighborhood of v complemented.

The method does not remove isomorphs.
neighborhoodComplements graph {{1,2},{1,3},{2,3},{3,4},{4,5}}

See also

Ways to use neighborhoodComplements :