Commit 56df71d4 authored by Mohcine Chraibi's avatar Mohcine Chraibi

Run Simulation

parent 4f23bb21
......@@ -157,8 +157,6 @@ bool IniFileParser::Parse(std::string iniFile)
if (xTrajectories) {
double fps;
xMainNode->FirstChildElement("trajectories")->Attribute("fps", &fps);
std::cout << "\n\nFPS " << fps << std::endl;
getc(stdin);
_config->SetFps(fps);
string format =
......
......@@ -281,9 +281,8 @@ bool Simulation::InitArgs()
double Simulation::RunStandardSimulation(double maxSimTime)
{
RunHeader(_nPeds+_agentSrcManager.GetMaxAgentNumber());
// double t = RunBody(maxSimTime);
// RunFooter();
double t = 12;
double t = RunBody(maxSimTime);
RunFooter();
return t;
}
......
......@@ -15,7 +15,7 @@
</trajectories>
<!-- where to store the logs -->
<logfile>log</logfile>
<num_threads>24</num_threads>
<num_threads>12</num_threads>
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- room states are: good or smoked -->
......@@ -47,7 +47,7 @@
<!--persons information and distribution -->
<agents operational_model_id="3">
<agents_distribution>
<group group_id="1" agent_parameter_id="1" room_id="0" subroom_id="2" number="5" goal_id="0" router_id="1" />
<group group_id="1" agent_parameter_id="1" room_id="0" subroom_id="2" number="37" goal_id="0" router_id="1" />
</agents_distribution>
<!-- frequency in persons/minute -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment