X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/1977f2e514c49ae6bdf411be9b08bc59be554a60..4ddd90e71988f16c5ea79f5de86a9fcb63973ded:/Model/src/main.cpp diff --git a/Model/src/main.cpp b/Model/src/main.cpp index 1151dcf..8671daa 100644 --- a/Model/src/main.cpp +++ b/Model/src/main.cpp @@ -19,9 +19,14 @@ int main(int argc, char *argv[]) Simulator *sim = new Simulator(argv[1]); int i=0; - while (i<10) { - sim->simulate(); + while (i<5) { + if (i==1) { + sim->set_open("exclusa6", false); + std::cout << "apagando" << std::endl; + } i++; + sim->simulate(); + std::cout << sim->get_state_as_xml() << std::endl << std::endl; } delete sim;