I also changed
- the eoQuadratic into eoQuad (as dicussed with Maarten)
- the eoBin into eoBit, with more appropriate names for the "binary"
operators (that can be unary!) as no one protested when I posted on
eodev list
eo everything that is general to any representation
es.h everything about real representation (in es dir)
ga.h everything related to bitstring representation (in ga dir)
To be continued by gp.h, and ...
This has lead to some slight modifications in test file eobin and all tutorial
examples files...
This impacts on many files, creating new entries in src (the old ones are moved
to obsolete dir), modifying t-eoSymreg.cpp and t-eobin.cpp in test,
as well as gprop.cc and mastermind.cc in app dir (not to mention almost all
files in tutorial:-(
allow the nice constructs I had imagined (and compiled with g++)
- I removed the createParam method in Parser class - that was creating the parameters
on the heap. Not allowed to have a templatized method ???
- I removed the subroutine read_param in SecondBitEA, as you need to create
permanent parameters (eoParser only holds references), and egcs did not allow
to create them by reference, i.e. in the line
eoValueParam<xxx> & blablaParam(...);
So now everything is done in the main_function, and 3 lines are needed to create
and read every paramter (sigh ...)
- added the eoNormMutation, simple normal mutation for simple real variables
Modified Files:
src/eo src/es/eoRealOp.h tutorial/Lesson2/FirstRealEA.cpp
tutorial/Lesson3/SecondBitEA.cpp