Une nouvelle version du portail de gestion des comptes externes sera mise en production lundi 09 août. Elle permettra d'allonger la validité d'un compte externe jusqu'à 3 ans. Pour plus de détails sur cette version consulter : https://doc-si.inria.fr/x/FCeS

Commit 7ad582ea authored by Lucas Pelerin's avatar Lucas Pelerin
Browse files

#4 - added CrowdSimulator class

parent da74f4d7
......@@ -9,4 +9,4 @@ link_directories( ./lib/${CMAKE_BUILD_TYPE} )
file( GLOB_RECURSE source_files src/* include/* )
add_executable( my_app ${source_files} include/obstacle/Obstacle.cpp include/obstacle/Obstacle.h)
add_executable( my_app ${source_files} include/obstacle/Obstacle.cpp include/obstacle/Obstacle.h include/crowdSimulator/CrowdSimulator.cpp include/crowdSimulator/CrowdSimulator.h)
#ifndef LIB_CROWD_SIMULATOR_H
#define LIB_CROWD_SIMULATOR_H
#include <world/world.h>
class CrowdSimulator {
private:
World* world_;
public:
/**
* Loads the world from a configuration file
*/
void loadInitFile();
/**
* Writes the result of the simulation to disk
*/
void writeSimulation();
/**
* Runs one simulation step
* @param dt
*/
void stepWorld(int dt);
/**
* Runs the simulation for the specified number of steps
* @param steps
*/
void runWorld(int steps);
};
#endif //LIB_CROWD_SIMULATOR_H
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