GraphTheory
CliquePolynomial
compute clique polynomial
Calling Sequence
Parameters
Description
Definition
Examples
Compatibility
CliquePolynomial(G, x)
G
-
undirected graph
x
variable or value
CliquePolynomial returns the clique polynomial for the graph G in the variable x.
For an undirected graph G, the clique polynomial of G is defined to be
where is the clique number of G and is the number of cliques in G of size .
The coefficients and are equal to the number of vertices and the number of edges of G, respectively.
The clique polynomial of G is equal to the independence polynomial of the graph complement of G.
The GraphTheory[CliquePolynomial] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
CliqueNumber
IndependencePolynomial
Download Help Document