#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: Echevarria Axel Emanuel int DNI=42271710; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> ///aux void interab(btree &B, btree::iterator it, list &pos, list &val,int i){ if(it == B.end()) return; val.push_back(*it); pos.push_back(i); interab(B,it.left(),pos,val,2*i+1); interab(B,it.right(),pos,val,2*i+2); } ///wrapper void listab(btree &B, list &abpos,list &vals) { interab(B, B.begin() ,abpos,vals, 0); } //---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(listab,vrbs); ev.evalr<1>(listab,12345,vrbs); return 0; }