GraphTheory[IsClique]
|
Calling Sequence
|
|
IsClique(G)
|
|
Description
|
|
•
|
The IsClique command returns true if the input graph is a clique (complete graph). It returns false otherwise.
|
•
|
To test whether a graph contains a clique (on a particular set of vertices) use the InducedSubgraph command first.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?