Commit 28d8f020 authored by maitre's avatar maitre
Browse files

Commit qui tue

parent fca7bd37
...@@ -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;}
private: public:
size_t currentGeneration; size_t currentGeneration;
Population* population; Population* population;
size_t reduceParents; size_t reduceParents;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment