#define USECHRONO #undef HAVE_MPI #include "eval.hpp" #include #include #include #include using namespace aed; using namespace std; //---:---<*>---:---<*>- COMIENZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> // COMPLETAR DNI y NOMBRE AQUI: // Nombre: Raats, Brian int DNI=43644241; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> void insertab(btree&B, list&pos, list&val, btree::iterator nodo, int abpos){ if(nodo==B.end())return; val.push_back(*nodo); pos.push_back(abpos); if(nodo.left()!=B.end()) insertab(B, pos, val, nodo.left(), int(2*abpos+1)); if(nodo.right()!=B.end()) insertab(B, pos, val, nodo.right(), int(2*abpos+2)); } void insertab(btree &B, list &pos,list &val) { int abpos=0; insertab(B, pos, val, B.begin(), abpos); } //---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(insertab,vrbs); return 0; }