run_tests is expanded to run everything (but only once yet, will have
to address this later). t-eoSymreg is build to run for just a few generations, otherwise testing it would be an excercise in patience.
This commit is contained in:
parent
4aed181311
commit
9f5069b23a
2 changed files with 36 additions and 3 deletions
|
|
@ -212,7 +212,7 @@ int main()
|
|||
typedef eoPop<EoType> Pop;
|
||||
|
||||
const int MaxSize = 100;
|
||||
const int nGenerations = 500;
|
||||
const int nGenerations = 10; // only a test, so few generations
|
||||
|
||||
// Initializor sequence, contains the allowable nodes
|
||||
vector<GpNode> init(init_sequence, init_sequence + 5);
|
||||
|
|
@ -223,7 +223,7 @@ int main()
|
|||
// Root Mean Squared Error Measure
|
||||
RMS<FitnessType, GpNode> eval;
|
||||
|
||||
Pop pop(5000, initializer);
|
||||
Pop pop(50, initializer);
|
||||
|
||||
apply<EoType>(eval, pop);
|
||||
|
||||
|
|
|
|||
Reference in a new issue