From a3d293711d7ee87e30df62cd0127be47a85b1b54 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 28 Nov 2013 11:02:04 +0100 Subject: Added comment to main.c. --- main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.c b/main.c index 0fe2d65..d5ac0e1 100644 --- a/main.c +++ b/main.c @@ -12,6 +12,14 @@ #include "sets.h" #include "graph.h" +/* + max_clique calculates the maximum clique in a graph. Arguments : + - g : the graph where the clique is looked for + - k : the clique we are currently examining + - c : the graph nodes we can potentially add to the clique + - mc : a pointer to the set containing the maximum clique found until now + Returns nothing (result is in *mc). +*/ void max_clique_a(const graph g, set k, set c, set *mc) { if (is_set_empty(c)) { if (set_size(k) > set_size(*mc)) { -- cgit v1.2.3