Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
FIC_DK_P GA Solving
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3TAL
FIC_DK_P GA Solving
Commits
a891f1e9
Commit
a891f1e9
authored
May 06, 2020
by
Alexis Lebis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first def of problem
parent
dca2c2f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
1 deletion
+43
-1
problem.h
src/model/problem.h
+43
-1
No files found.
src/model/problem.h
View file @
a891f1e9
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment