Commit graph

137 commits

Author SHA1 Message Date
evomarc
4ec08e8b10 Added eoReduceMergeReduce and elitism (+ corrected small bug in eoHowMany) 2002-07-28 05:40:25 +00:00
evomarc
98a1441137 A radical change in eoCheckPoint - though invisible from the outside:
eoCheckpoint now alos contains a vector<eoContinue *> - and not only
IS A eoContinue. So you can ADD another eoContinue to an eoCheckpoint...
2002-07-24 18:08:30 +00:00
evomarc
a7a1ed2326 I had left a flaw in teh Ctor (did not accept rates >1) 2002-07-06 05:23:18 +00:00
evomarc
427ed0f5bf Added the negative rate (-> 1-rate) and the unary operator- (useful
in eoG3Replacement)
2002-06-21 13:30:17 +00:00
evomarc
d6e33dbaee Copied from eoRndGenerators here is eoUniformInit, same thing but in the eoInit
hierarchy.
Useful to embed into higher levels eoInit
2002-04-30 04:54:25 +00:00
evomarc
1e0717859d Added the negative argument in Ctor to say that you want number
popSize - some fixed number
2002-04-26 02:37:40 +00:00
evomarc
42a2a4f69e A few changes for MSVC++ compatibility 2002-04-12 15:13:45 +00:00
evomarc
6848622539 Added the eoIncrementorParam - now ALL pointers allocated in make_checkpoint
are stored somewhere (the generation counter was not)
2002-04-08 08:50:27 +00:00
evomarc
a79eb09ea6 Added the eoTimeCounter that allows to use time as a base counter
for statistics (when you compare things that are not using the same
evaluation function for instance)
2002-03-22 10:57:37 +00:00
evomarc
c7743f88ef Corrected a sligth error in eoParamParam reading that resulted in making the comma
part of the stored string value
2002-03-05 05:46:55 +00:00
evomarc
78a8f3cd57 Added a title (Gen. X) to the plot so you can follow what's going on 2002-02-11 06:27:44 +00:00
evomarc
49dd11d2c5 Added the getCounter() method so subclasses have a hand on the generation nb 2002-02-11 06:26:48 +00:00
evomarc
f045212863 Added the constructor from a string 2002-02-08 07:51:59 +00:00
evomarc
53eac8838b Added the method getORcreateParam.
It has exactly the same syntax than the createParam method
but it first checks whether the param has been laready entered before creating it
2002-02-08 07:49:32 +00:00
evomarc
76ff13b2e3 Added default value for bool arg in testDirRes function 2002-02-02 05:59:05 +00:00
evomarc
6f5a34a134 Updated the comments 2002-01-31 17:32:27 +00:00
evomarc
eaf5ea0111 Added links to some examples in the comments 2001-12-03 06:59:17 +00:00
evomarc
49cc03546a Replaced the flat definitions of ncecessary classes (eoStatxxx and eoMonitor)
with the include of the corresponding .h file. as MSVC complained!
2001-11-16 14:01:52 +00:00
evomarc
bd53a220a5 A few more typename conditionally removed for MSVC++ 2001-11-12 15:21:40 +00:00
evomarc
4ad58c360e Some more small changes for MSVC++ compatibility 2001-11-12 14:17:58 +00:00
evomarc
d7c3d973c7 Small modifications here and there to be MSVC++ compatible
Mainly, time.h -> ctime
        definition of loop index out of loops when multiply used
        no typename in declaration using template typename
2001-11-10 09:02:17 +00:00
evomarc
a5e3abd9f6 Added the #pragma directive for MSVC++ in all .cpp 2001-11-10 06:59:02 +00:00
evomarc
58f5fd2f61 Added method
eoParam* getParamWithLongName(std::string _name);
so now you can get a parameter in another place than where it was defined
just by giving its name
2001-11-05 16:38:52 +00:00
jeggermo
4584fda53d Some changes for using EO with libstdc++V3 and gcc-3.01 2001-10-25 10:39:55 +00:00
evomarc
af05dfacb9 Added MAXFLOAT and MINFLOAT as it seems that Cygwin needs that ??? 2001-10-18 05:30:45 +00:00
evomarc
f2c21bdc0b Removed trailing text after #endif - causes warning on many compilers 2001-10-08 09:14:15 +00:00
evomarc
30616fca42 Forgot to double also the parameter to initialize in the Ctor! 2001-10-05 03:56:21 +00:00
evomarc
f4efc65994 Modified the reseed method in RNG class so two different seeds give different
sequences, after Jeroen's remark (jeggermo@liacs.nl)
2001-10-05 03:51:15 +00:00
evomarc
d0d14c3ff8 Removed trailing string after #endif - it generates a lot of useless warning
on some versions of g++
2001-09-08 05:59:17 +00:00
evomarc
e79edcffe7 Added make_help in checkpointing, included stdexcept in eoParam. Comments
updates ...
2001-09-04 06:43:19 +00:00
evomarc
62dfe13c3a Spotted and commented (but NOT corrected :-( a bug in case the ResDir
exists and is empty
2001-09-04 06:41:34 +00:00
evomarc
4f642f848e Corrected wrong arguments for the 2D Ctor 2001-09-04 06:40:28 +00:00
evomarc
0286faed1b Removed remaining debugging comment 2001-05-18 03:59:22 +00:00
jmerelo
34cb430bd7 Added Royal Road, MGE now work with it, small modifications to eoPopStat 2001-05-11 10:44:01 +00:00
evomarc
09388c8ed5 Bing change in eoRealBounds: it is now deriving from eoPersistent.
More important, the eoRealVectorBounds, vectorized version (a vector<eoRealBounds *>
has also become an eoPersistent object and now derives from an eoRealBaseVectorBounds
class.
A useful consequence (and actual motivatino) was to be able to have soem
eoValueParam<eoRealVectorBounds> with all possibilities for input
(see doc for Lesson4 in the tutorial for the syntax).
2001-05-08 04:41:51 +00:00
evomarc
42cb1981d5 In eoParser::readFrom, added a test to avoid reading non-parser sections
as these generally contain many -xxx that generate a reading error
when xxx is not a keyword.
This allows to use State-savec files directly as parameter files
2001-05-08 03:49:35 +00:00
evomarc
0aa6a235ef Replaced stupid eoRateParam by eoValueParam<eoHowMnay>
Had to transform eoHowMany into an eoPersistent ...
2001-05-07 07:13:36 +00:00
evomarc
5508869d00 A full working version of ES is now available in tutorial/Lesson4,
that makes full use of libes.a.
The user guide is in Lesson4 of the tutorial - programmer's guide
will come later.
Plus many small changes here and there
2001-05-04 16:51:29 +00:00
evomarc
f4d2630516 Corrected a problem in eoEsChromInit (it refused plain eoReal) + some
other minor modications (e.g. a dir in make_checkpoint where ALL file
will go).
2001-05-03 17:20:27 +00:00
evomarc
5bea22e876 Some changes in names, before too many users have to modify their code :-)
Changed es.h in src/es into make_es.h (was ambiguous with src/es.h)
Changed the interface of make_genotype - now templatized by the EOT
and not the fitness - this is mandatory for ES genoptypes as it allows to
choose the type of gentype at run-time (from existing types, of course!)

Also moved make_help.cpp into utils dir (otherwise you'd had to maintain
a copy into each representation dir!).
2001-04-30 13:24:42 +00:00
evomarc
d90286d890 Some changes in names, before too many users have to modify their code :-)
Changed es.h in src/es into make_es.h (was ambiguous with src/es.h)
Changed the interface of make_genotype - now templatized by the EOT
and not the fitness - this is mandatory for ES genoptypes as it allows to
choose the type of gentype at run-time (from existing types, of course!)

Also moved make_help.cpp into utils dir (otherwise you'd had to maintain
a copy into each representation dir!).
2001-04-30 13:01:07 +00:00
evomarc
a7042bffee Added bounds to the real operators in make_XXX (and hence in t-eoReal) 2001-04-28 05:47:18 +00:00
evomarc
4968d64b05 Doing libes.a in src/es and adding t-eoReal.cpp in test
I had to move eoRealBounds to utils dir because of global objects
Some domino consequences here and there ...
2001-04-26 15:24:53 +00:00
evomarc
511dc26623 Changed obscure comment into more detailed one 2001-04-24 09:42:01 +00:00
evomarc
56c9464306 The new libga
Apart from big changes in the src/ga dir, and the addition of the src/do dir
it also generated a few changes here and there, e.g. some include file still
missing. Also removed some warning from some test files.
2001-04-24 04:52:04 +00:00
evomarc
e71aea497f Few cosmetic modifs:
put the #define of some boolean in eoData.h
   added some include that were missing (unnoticed because of include<eo>)
   some checks in eoXXXTournamentSelect
2001-04-13 08:57:40 +00:00
evomarc
369ef17081 Modified the default behavior of eoCountedStateSaver to save the final population.
So if you don't want any population save, don't use any eoCountedStateSaver.
2001-04-12 05:35:05 +00:00
evomarc
64990a1ac4 Changed all variables named howmany into combien (French for how many)
because of a silly problem on Solaris (howmany seems to be some macro???)
2001-04-11 12:01:51 +00:00
evomarc
28c6b9a285 Modified printOn so that parameters that are not set explicitely by the user
are commented out - but still appear. Uses the (now public and pure virtual
in the base class eoParameterLoader) method isItThere.
2001-04-11 04:44:39 +00:00
evomarc
eafaa2d65e Added the pure virtual isItThere method in base class eoParameterLoader
Also made the corresponding isItThere method in eoParser public.
This allows one to test if the user did actually input a given parameter
and thus not to write it in the output if not - as we want the output
of printOn to be "as identical as possible" to the actual user input
2001-04-10 15:08:09 +00:00