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
|
|
@ -1,6 +1,39 @@
|
|||
#!/bin/sh
|
||||
echo "Starting t-eo"
|
||||
./t-eo > eo.log
|
||||
|
||||
echo "Starting Replacement Test"
|
||||
echo "Starting t-eoReplacement"
|
||||
./t-eoReplacement > replacement.log
|
||||
|
||||
echo "Starting t-eoCheckpointing"
|
||||
./t-eoCheckpointing > checkpointing.log
|
||||
|
||||
echo "Testing -h"
|
||||
./t-eoCheckpointing -h > ch2.log
|
||||
|
||||
echo "Testing t-eoExternalEO"
|
||||
./t-eoExternalEO > externalEO.log
|
||||
|
||||
echo "Testing t-eoGenOp"
|
||||
./t-eoGenOp > genOp.log
|
||||
|
||||
echo "Testing t-eoSelect"
|
||||
./t-eoSelect > select.log
|
||||
|
||||
echo "Testing t-eoStateAndParser"
|
||||
# TODO, many different parameter settings and checks
|
||||
./t-eoStateAndParser > stateAndParser.log
|
||||
|
||||
echo "Testing t-eoSymreg"
|
||||
./t-eoSymreg > symreg.log
|
||||
|
||||
echo "Testing t-eobin"
|
||||
./t-eobin > bin.log
|
||||
|
||||
echo "Testing t-eofitness"
|
||||
./t-eofitness > fitness.log
|
||||
|
||||
echo "Finished"
|
||||
|
||||
#TODO test if an error occured
|
||||
echo "Ok"
|
||||
|
|
|
|||
|
|
@ -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