Macaulay2 » Documentation
Packages » Graphs :: independenceComplex
next | previous | forward | backward | up | index | toc

independenceComplex -- constructs the independence complex of a graph

Synopsis

Description

The independence complex of a graph G is the set of all the independent sets of G.

i1 : G = graph({{1,2},{2,3},{3,4},{4,5}},EntryMode=>"edges");
i2 : independenceComplex G

o2 = simplicialComplex | x_2x_5 x_2x_4 x_1x_4 x_1x_3x_5 |

o2 : SimplicialComplex

See also

Ways to use independenceComplex :

For the programmer

The object independenceComplex is a method function.