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
2382f356
Commit
2382f356
authored
Dec 02, 2020
by
Alexis Lebis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix duplicata of function
parent
4dbd523c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
competencyDistribution.cpp
src/model/competencyDistribution.cpp
+0
-13
competencyDistribution.h
src/model/competencyDistribution.h
+0
-1
problem.cpp
src/model/problem.cpp
+1
-1
No files found.
src/model/competencyDistribution.cpp
View file @
2382f356
...
...
@@ -145,16 +145,3 @@ void CompetencyDistribution::linearDistribution(CSDVP &pb)
}
std
::
cout
<<
CompetencyDistribution
::
HLEVEL
.
at
(
CompetencyDistribution
::
HLEVEL
.
size
()
-
1
)
<<
"]"
<<
std
::
endl
<<
std
::
endl
;
}
\ No newline at end of file
std
::
vector
<
Competency
>
CompetencyDistribution
::
compsAtHLevel
(
CSDVP
&
pb
,
int
level
)
{
std
::
vector
<
Competency
>
res
;
for
(
int
i
=
0
;
i
<
pb
.
cfg_quantityCompetencies
();
i
++
)
{
if
(
pb
.
competencyCatalogue
().
at
(
i
).
hLevel
()
==
level
)
res
.
push_back
(
pb
.
competencyCatalogue
().
at
(
i
));
}
return
res
;
}
\ No newline at end of file
src/model/competencyDistribution.h
View file @
2382f356
...
...
@@ -41,7 +41,6 @@ class CompetencyDistribution
*/
static
void
sanitizeHLEVEL
();
static
void
displayHLevel
();
static
std
::
vector
<
Competency
>
compsAtHLevel
(
CSDVP
&
,
int
level
);
};
...
...
src/model/problem.cpp
View file @
2382f356
...
...
@@ -503,7 +503,7 @@ void const CSDVP::displayDistribution(){
for
(
int
i
=
0
;
i
<
CompetencyDistribution
::
HLEVEL
.
size
();
i
++
)
{
std
::
cout
<<
"
\t
Assigned in HL#"
<<
i
<<
": "
<<
CompetencyDistribution
::
compsA
tHLevel
(
*
this
,
i
).
size
()
<<
std
::
endl
;
std
::
cout
<<
"
\t
Assigned in HL#"
<<
i
<<
": "
<<
CompetencyDistribution
::
ge
tHLevel
(
*
this
,
i
).
size
()
<<
std
::
endl
;
}
std
::
cout
<<
"Distrib:"
<<
std
::
endl
;
...
...
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