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
fe7a49cb
Commit
fe7a49cb
authored
Dec 03, 2020
by
Alexis Lebis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix > 0
parent
34033c70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
decay.h
src/model/decay.h
+1
-0
problem.cpp
src/model/problem.cpp
+1
-1
No files found.
src/model/decay.h
View file @
fe7a49cb
...
...
@@ -19,6 +19,7 @@ class DecayEngine
if
(
t
==
0
)
return
0
;
return
(
exp
(
t
/
1
.
25
)
+
5
)
/
100
;
//return (double)t/10;
}
};
...
...
src/model/problem.cpp
View file @
fe7a49cb
...
...
@@ -446,7 +446,7 @@ int CSDVP::CSDVP_COUNTER = 0;
lastTF
=
pb
.
coursesCatalogue
().
at
(
i
).
lastTimeFrame
();
maxLevel
=
lastTF
*
hLevelR
/
nbTF
;
maxLevel
--
;
// Logically, prerequisite can only be according to comp of lower HL
if
(
maxLevel
>
0
)
// then this means we are dealing with at least a HL 1, so only HL below can serve as prereq
if
(
maxLevel
>
=
0
)
// then this means we are dealing with at least a HL 1, so only HL below can serve as prereq
{
HLComp
=
CompetencyDistribution
::
upToHLevel
(
pb
,
maxLevel
);
...
...
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