next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Graphs :: independenceComplex

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 = | x_1x_3x_5 x_2x_5 x_2x_4 x_1x_4 |

o2 : SimplicialComplex

See also

Ways to use independenceComplex :

For the programmer

The object independenceComplex is a method function.