Share on Facebook Share on Twitter Email
Answers.com

Clique

 
Wikipedia: Clique (graph theory)
K5, a complete graph. If a subgraph looks like this, the vertices in that subgraph form a clique of size 5.
A graph with 6 vertices and 7 edges. On this graph vertices 1, 2, 5 is the only clique of size 3.

In graph theory, a clique in an undirected graph G = (VE) is a subset of the vertex set C ⊆ V, such that for every two vertices in C, there exists an edge connecting the two. This is equivalent to saying that the subgraph induced by C is complete (in some cases, the term clique may also refer to the subgraph). The size of a clique is the number of vertices it contains.

Finding whether there is a clique of a given size in a graph (the clique problem) is NP-complete.

The opposite of a clique is an independent set, in the sense that every clique corresponds to an independent set in the complement graph.

The term presumably comes from the idea that, if the vertices represent people and the edges represent the relation 'knows', then everyone knows everyone else, thus forming a clique.

The clique number ω(G) of a graph G is the order of a largest clique in G.

Contents

Notes

See also

References

External links

  • Cliquer, a set of C routines for finding cliques in an arbitrary weighted graph.

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Clique (graph theory)" Read more