X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/8c5f74464a5708bc7f7013f28a408af762344803..HEAD:/src/main_var.cpp diff --git a/src/main_var.cpp b/src/main_var.cpp index 8202096..d7082c9 100644 --- a/src/main_var.cpp +++ b/src/main_var.cpp @@ -29,7 +29,7 @@ int main (int argc, char *argv[]) it = lst.begin (); while (it != lst.end ()) { - ClaveVariable c(*it, 0); + ClaveVariable c(*it); double l = Random::Double (0.0f, 1.0f); std::cout << l << " >= " << paltas << std::endl; @@ -47,7 +47,7 @@ int main (int argc, char *argv[]) } else { /* Tengo que borrar una clave entre 0 e "i" de la lista * porque son las que ya agregue. */ - ClaveVariable c(km.GetRandom (), 0); + ClaveVariable c(km.GetRandom ()); try { tree.DelKey (c); @@ -66,7 +66,7 @@ int main (int argc, char *argv[]) int bien = 0; int mal = 0; while (it != l.end ()) { - ClaveVariable c(*it, 0); + ClaveVariable c(*it); BTreeFindResult *r; r = tree.FindKey (c);