adding a include for apply.h
This commit is contained in:
parent
2d5dbf6cfb
commit
f48fbcf51a
1 changed files with 42 additions and 42 deletions
|
|
@ -34,6 +34,7 @@
|
||||||
#include <eoSelectPerc.h>
|
#include <eoSelectPerc.h>
|
||||||
#include <eoEvalFunc.h>
|
#include <eoEvalFunc.h>
|
||||||
#include <eoAlgo.h>
|
#include <eoAlgo.h>
|
||||||
|
#include <apply.h>
|
||||||
|
|
||||||
/** The Simple Genetic Algorithm, following Holland and Goldberg
|
/** The Simple Genetic Algorithm, following Holland and Goldberg
|
||||||
* Needs a selector (class eoSelectOne) a crossover (eoQuadratic,
|
* Needs a selector (class eoSelectOne) a crossover (eoQuadratic,
|
||||||
|
|
@ -102,7 +103,6 @@ public :
|
||||||
{
|
{
|
||||||
mutate(offspring[i]);
|
mutate(offspring[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_pop.swap(offspring);
|
_pop.swap(offspring);
|
||||||
|
|
|
||||||
Reference in a new issue