summaryrefslogtreecommitdiff
path: root/set_linked_lists.c
diff options
context:
space:
mode:
authorMendes Oulamara <oulamara@clipper.ens.fr>2013-12-04 16:49:00 +0100
committerMendes Oulamara <oulamara@clipper.ens.fr>2013-12-04 16:49:00 +0100
commit78bac8d58b3ed8d5cdb575c6e3ebd99773e5b336 (patch)
tree28391e137c31c7137e2b0cc5592360c9c0c27dcc /set_linked_lists.c
parent13d3fd69bc37eb35ccbb6122522c7848a7234245 (diff)
downloadAlgoProg-Projet-78bac8d58b3ed8d5cdb575c6e3ebd99773e5b336.tar.gz
AlgoProg-Projet-78bac8d58b3ed8d5cdb575c6e3ebd99773e5b336.zip
Add heuritic to linked lists
Diffstat (limited to 'set_linked_lists.c')
-rw-r--r--set_linked_lists.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/set_linked_lists.c b/set_linked_lists.c
index 8cc77c4..e865b95 100644
--- a/set_linked_lists.c
+++ b/set_linked_lists.c
@@ -239,6 +239,10 @@ int elt_of_set(const set s) {
return -1; // should raise exception... hope this will be handled properly
}
+int elt_of_set_heur(const set s, int h) {
+ return elt_of_set(s);
+}
+
void set_add_ip(int x, set s) {
element prev, iter, e;