Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Arnaud Kress
easea
Commits
28d8f020
Commit
28d8f020
authored
Mar 31, 2009
by
maitre
Browse files
Commit qui tue
parent
fca7bd37
Changes
1
Hide whitespace changes
Inline
Side-by-side
tpl/STD.tpl
View file @
28d8f020
...
@@ -273,8 +273,8 @@ void EvolutionaryAlgorithm::runEvolutionaryLoop(){
...
@@ -273,8 +273,8 @@ void EvolutionaryAlgorithm::runEvolutionaryLoop(){
currentGeneration += 1;
currentGeneration += 1;
\INSERT_GEN_FCT_CALL
\INSERT_GEN_FCT_CALL
}
}
population->sortParentPopulation();
population->sortParentPopulation();
std::cout
<
<
*population
<<
std::endl
;
std::cout
<
<
*population
<<
std::endl
;
...
@@ -385,7 +385,7 @@ public:
...
@@ -385,7 +385,7 @@ public:
bool allCriteria();
bool allCriteria();
Population* getPopulation(){ return population;}
Population* getPopulation(){ return population;}
size_t getCurrentGeneration() { return currentGeneration;}
size_t getCurrentGeneration() { return currentGeneration;}
p
rivate
:
p
ublic
:
size_t currentGeneration;
size_t currentGeneration;
Population* population;
Population* population;
size_t reduceParents;
size_t reduceParents;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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