X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f61a5ebd00d4620af70c3780ba821f5af68def1c..78a6866a5076cee1015d8985b5bbbb84adf32576:/Model/src/main.cpp diff --git a/Model/src/main.cpp b/Model/src/main.cpp index e6e52b5..8671daa 100644 --- a/Model/src/main.cpp +++ b/Model/src/main.cpp @@ -19,11 +19,14 @@ int main(int argc, char *argv[]) Simulator *sim = new Simulator(argv[1]); int i=0; - while (i<2) { + 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; - i++; } delete sim;