Simulator *sim = new Simulator(argv[1]);
int i=0;
- while (i<10) {
+ 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;