| igraph Reference Manual |
|---|
int igraph_cliques(const igraph_t *graph, igraph_vector_ptr_t *res,
igraph_integer_t min_size, igraph_integer_t max_size);
Cliques are fully connected subgraphs of a graph.
If you are only interested in the size of the largest clique in the graph,
use igraph_clique_number() instead.
Arguments:
graph: |
The input graph. |
res: |
Pointer to a pointer vector, the result will be stored
here, ie. |
min_size: |
Integer giving the minimum size of the cliques to be returned. If negative or zero, no lower bound will be used. |
max_size: |
Integer giving the maximum size of the cliques to be returned. If negative or zero, no upper bound will be used. |
Returns:
|
Error code. |
See also:
Time complexity: TODO
| << 1. Cliques | 1.2. igraph_largest_cliques — Finds the largest clique(s) in a graph. >> |