summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-08 19:23:25 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-08 19:23:25 +0100
commit5c0bf0e1f8bf2cd1d309e443c9632423ca96589a (patch)
tree2288067659ea895c8e28be0d8e504ef7f8b9afdf /main.c
parent100be058261bc725a0356dd76e07145ae6c3181f (diff)
downloadAlgoProg-Projet-5c0bf0e1f8bf2cd1d309e443c9632423ca96589a.tar.gz
AlgoProg-Projet-5c0bf0e1f8bf2cd1d309e443c9632423ca96589a.zip
Rien du tout, on a juste un coloriage correct maintenant.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 3faf077..febe6a5 100644
--- a/main.c
+++ b/main.c
@@ -94,6 +94,10 @@ int main(int argc, char **argv) {
max_clique_b(g, init_k, init_c, init_a, &max_clique);
printf("Max clique: "); dump_set(max_clique);
} else if (algo == 2) {
+ set k = full_set(g->N);
+ color_subgraph(g, k, 1);
+ delete_set(k);
+
set max_clique = empty_set(g->N);
set init_c = full_set(g->N);
set init_a = full_set(g->N);