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
ce024b1e
Commit
ce024b1e
authored
May 13, 2020
by
Alexis Lebis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed mapCourse
parent
24b89ed8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
problem.cpp
src/model/problem.cpp
+1
-1
problem.h
src/model/problem.h
+1
-1
No files found.
src/model/problem.cpp
View file @
ce024b1e
...
...
@@ -179,7 +179,7 @@ int CSDVP::CSDVP_COUNTER = 0;
}
}
}
int
CSDVP
::
mapCoursePosition
(
const
Course
&
c
)
int
CSDVP
::
mapCourse
To
Position
(
const
Course
&
c
)
{
for
(
int
i
=
0
;
i
<<
this
->
coursesCatalogue
().
size
();
i
++
)
if
(
c
==
this
->
coursesCatalogue
().
at
(
i
))
...
...
src/model/problem.h
View file @
ce024b1e
...
...
@@ -136,7 +136,7 @@ class CSDVP
/** Maps a course into its position inside the this->courseCatalogue().
* returns the index of the course within the coursesCatalogue [0;size[ ; otherwise return -1 if the course is not found.
*/
int
mapCoursePosition
(
const
Course
&
c
);
int
mapCourse
To
Position
(
const
Course
&
c
);
///@todo getDecayPolitic
// === MUTATOR
...
...
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