Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 810ad104 authored by Lucas Pelerin's avatar Lucas Pelerin
Browse files

#4 - added class Policy

parent 0fb77aea
......@@ -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 include/crowdSimulator/CrowdSimulator.cpp include/crowdSimulator/CrowdSimulator.h)
add_executable( my_app ${source_files} include/obstacle/Obstacle.cpp include/obstacle/Obstacle.h include/crowdSimulator/CrowdSimulator.cpp include/crowdSimulator/CrowdSimulator.h include/policy/Policy.cpp include/policy/Policy.h)
#include "Policy.h"
#ifndef LIB_POLICY_H
#define LIB_POLICY_H
#include <costFunction/costFunction.h>
#include <c++/vector>
class Policy {
private:
std::vector<CostFunction> cost_functions_;
std::vector<double> parameters_;
public:
double getNewVelocity();
};
#endif //LIB_POLICY_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