IsClique - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory

  

IsClique

  

test if graph is a clique

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsClique(G)

IsClique(G,S)

Parameters

G

-

undirected graph

S

-

(optional) list or set of vertices

Description

• 

The IsClique(G) command returns true if the input graph is a clique (complete graph).  It returns false otherwise.

• 

The IsClique(G, S) command returns true if the collection of vertices S represents a clique in G, and returns false otherwise.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

See Also

CliqueNumber

InducedSubgraph

MaximumClique

 


Download Help Document