33main(
int argc,
char** argv) {
34 std::vector<std::string> options;
35 for (
int i = 1; i < argc; i++) {
36 options.push_back(argv[i]);
38 libsumo::Simulation::load(options);
39 std::cout <<
"Simulation loaded\n";
40 if (options.size() == 0 || (options[0] !=
"sumo" && options[0] !=
"sumo-gui")) {
41 options.insert(options.begin(),
"sumo");
43 libsumo::Simulation::start(options);
44 std::cout <<
"Simulation started\n";
45 libsumo::Simulation::close();
int main(int argc, char **argv)