Turned bonary_value into the onemax (not pow that exploded for even only
moderately small size of genome!) Turned it into a double (it was a float) as floats are dead and should dissappear
This commit is contained in:
parent
f41cd957c0
commit
d686b37c1f
4 changed files with 11 additions and 19 deletions
|
|
@ -66,7 +66,7 @@ int main(int argc, char* argv[])
|
|||
//////////////////////////////////////////////////////
|
||||
|
||||
// The evaluation fn - encapsulated into an eval counter for output
|
||||
eoEvalFuncPtr<Indi, float> mainEval( binary_value<Indi>);
|
||||
eoEvalFuncPtr<Indi, double> mainEval( binary_value<Indi>);
|
||||
eoEvalFuncCounter<Indi> eval(mainEval);
|
||||
|
||||
// COnstruction of the distribution
|
||||
|
|
|
|||
Reference in a new issue