Commit 178fcd31 authored by Matthias Carnein's avatar Matthias Carnein

Only recluster when initialized

parent 40265748
......@@ -380,6 +380,7 @@ public:
void evolution(){
if(!this->init) return;
this->calculateFitness();
......@@ -428,6 +429,8 @@ public:
void recluster(int generations){
if(!this->init) return;
// fixed number of generations
for(int i=0; i<generations; i++){
#if VERBOSE >= 1
......
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