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

cliqueComplex -- Returns the clique complex of a graph

Synopsis

Description

The clique complex of a graph G is the set of all cliques of G.

i1 : G = graph(toList(1..4),{{1, 2}, {1, 3}, {2, 3}, {3, 4}});
i2 : cliqueComplex G

o2 = simplicialComplex | x_3x_4 x_1x_2x_3 |

o2 : SimplicialComplex

See also

Ways to use cliqueComplex :

For the programmer

The object cliqueComplex is a method function.