Commit a891f1e9 authored by Alexis Lebis's avatar Alexis Lebis

first def of problem

parent dca2c2f1
#ifndef SRC_PROBLEM_H_
#define SRC_PROBLEM_H_
// USE THIS FILE TO MODELISE THE PB, i.e. how many courses are available, etc.
#include <vector>
#include "course.h"
#include "competency.h"
/**
* Model of the CSDVP (Constraint Satisfaction Decaying Variables Problem).
*
* How many compentecies are available, how many courses, etc...
*/
class CSDVP
{
private:
int _id;
int _quantityAvailableCompetencies;
std::vector<Competency> _availableCompentecies;
int _quantityAvailableCourses;
std::vector<Course> _availableCourses;
/// ECTS values, defining the intervale [_minimal,_maximal] for random
int _minimalECTSValue;
int _maximalECTSValue;
int _minimalCoursesByTimeFrame;
int _maximalCoursesByTimeFrame;
int _numberOfTimeFrame;
std::vector<int> _timeFrames;
///@todo implements a decay politics
//DecayPolitics
// Static
static int PROBLEM_COUNTER;
static int assignID();
public:
CSDVP();
};
#endif // SRC_PROBLEM_H_
\ No newline at end of file
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