Commit graph

52 commits

Author SHA1 Message Date
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
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
6af035d2fa Adding files in es for ES Crossovers 2001-05-02 10:57:35 +00:00
evomarc
29b25024b7 Forgotten file ... 2001-05-02 10:54:17 +00:00
evomarc
bb19ed633b Forgotten new file 2001-05-02 10:53:14 +00:00
evomarc
6493ef8889 Added the new eoEsXXXover.h in Malefile.am 2001-05-02 10:50:01 +00:00
evomarc
17484feeef Forgotten ES files + start of tutorial Lesson4 (about make_XXX) 2001-05-02 10:47:56 +00:00
evomarc
10064ad967 Adding Evolution Strategies:
src/es/eoEsGlobalXover.h and src/es/eoEsLocalXover.h for crossover
src/es/make_XXX_es.h for user-input
test/t-eoEsAll.cpp to test

However, an old bug appeared: className was not const in eoGenOp (and derived classes)
so I had to change that throughtout the hierarchy
2001-05-02 10:42:32 +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
4f05bfaaf1 Re-introduced the old ctors for the mutations (for backward compatibility
with the tutorial :-(
2001-04-29 05:03:05 +00:00
evomarc
0c3f372f7b Declarations for make_xxx_real.cpp files - for eoReal genotypes
Was previously es.h - now es.h is specifically for ES genotypes
2001-04-28 06:06:21 +00:00
evomarc
fc01c6862a Adding first bricks of ES algorithm - make_XXX_es.cpp 2001-04-28 05:53:37 +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
7b8999b205 Removed the -O2 from ga and es dirs - it takes waaaaaaaaaaaaay too much time
at least with g++ 2.95.3
2001-04-27 04:03:16 +00:00
evomarc
95bd02adbf The declaratio file for all make_* 2001-04-26 15:47:37 +00:00
evomarc
2d6bb7ae0c Removing eoRealBounds from Makefile.am 2001-04-26 15:35:30 +00:00
evomarc
b7ad190260 An initializer of eoReal that uses bounds 2001-04-26 15:31:48 +00:00
evomarc
538d91c601 Adding all make_*_real.* - similar to ga stuff for eoReal (not ES yet) 2001-04-26 15:27:48 +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
maartenkeijzer
025eb736ee eoVector is back (eoFixedLength and eoVariableLength are gone)
Also: introducing eoRndGenerators.h for eoRndGenerator derived classes:

  eoNormalGenerator
  eoUniformGenerator
  eoBooleanGenerator
  eoNegExpGenerator

Note the suffix that are added to aid in determining what these classes do
2001-02-17 10:51:31 +00:00
evomarc
9dbb516d8b Modified the comments so that all callses are documented by Doxygen
(a comment starting with // before the class definition is not taken into account)
Also updated the initial overall comment -
and waouw, doxygen generates links there, too! Cool.
2001-02-15 05:35:31 +00:00
evomarc
bf0e84fc56 A few minor corrections (and some comments) after Maarten big commit 2001-02-15 04:47:18 +00:00
maartenkeijzer
3a9b5a0e7e Well, what do you know, major commit.
Changed the signature of eoMon, eoBin and eoQuadOp to return a bool,
without invalidating fitness. Added a set of invalidators to take over
that job (see for instance eoSGA and eoSGATransform how this can transparantly used)

Derived eoState from eoFunctorStore (for convenience, from a design perspective this may sound wrong)

Added a wrap_op function that does the wrapping for you (see eoOpContainer how this made this functor
exceedingly less hairy). Checked all the tests removed the eoGeneric*Op family (not needed anymore)
and of course changed all the operators to reflect the change (and found a few that didn't
invalidate the fitness, thus really pointing out the advantage of the current approach)
2001-02-14 10:35:26 +00:00
evomarc
415b419671 The BIG change of general operator interface
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
2001-02-09 05:09:26 +00:00
evomarc
097d34be39 Comments added to remove undocumented classes from Doxygen documentation 2001-01-30 04:53:05 +00:00
evomarc
2b46277eed Added the truncate and the hasNoBoundAtAll methods in eoRealBounds.
The former simply set values to the boundary values in case they are out
The latter allows to short-cut all bound-checks when no need

SOme day I will put this in utils, and have a eoRealBounds.cpp in the
pre-compiled library
2001-01-29 10:25:44 +00:00
evomarc
0f985c627e Modified to use eoRealBounds rather than eoEsObjectiveBounds 2001-01-28 07:31:34 +00:00
evomarc
03bc482da0 Actually removed eoEsObjectiveBounds.h and evolution_strategies 2001-01-28 07:02:27 +00:00
evomarc
8d35fad136 Added the includes ga.h and es.h
Removed the old eoEsObjectiveBounds and evolutionar_strategies from es dir
2001-01-28 07:00:41 +00:00
evomarc
508a5b9215 Added some comments so eoRealVectorBounds is documented 2001-01-27 08:38:31 +00:00
evomarc
c015b82506 Added eoGenericRealOp.h that are the exact copy of the operators of eoReaOp.h,
but in generic format.
They are used at the omoment only in eoEsStdevXOver.h that calls a crossover
on the object variables, then a crossover on teh stdev vectors!
A piece of cake :-)
2001-01-27 07:46:07 +00:00
evomarc
41ff11bd7f I have separated the include files into
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...
2001-01-27 07:41:46 +00:00
evomarc
c917207b5d Added the bounds to all eoRealOp operators (and to the eoNormalMutation).
The eoESObjectiveBounds should soon dissapear!!
2001-01-26 18:26:30 +00:00
evomarc
20b70de2a1 Added the normal mutation - and the 1/5 mutation 2001-01-16 07:18:45 +00:00
evomarc
e532234d1c New versions of bounds for real variables.
Should supersede eoEsObjectiveBounds, whose name was misleading anyway
as this can be used in any REal-ceded GA for isntance
2001-01-11 11:02:37 +00:00
evomarc
4944881d7c - added the #define for eo_verbose (true) and eo_no_verbose (false)
- 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
2000-12-04 14:53:59 +00:00
evomarc
00e21770ad Changed the (abstract) name for fitness from F to FitT so it matches
that of file eoFixedLength.h - it is far clearer in the documentation
diagrams this way.
2000-12-02 08:21:18 +00:00
evomarc
d0e566fdf4 Very simple classes for vectors of (unbounded) real numbers.
A few straightforward operators only (BLX-0, uniform mutation).
Mostly for tutorial reasons - though it might improve in usefull classes later
2000-11-24 17:44:21 +00:00
gustavoromero
a1cd1fd3bf fix warning: no newline at end of file 2000-11-10 09:55:10 +00:00
mac
4f1bcfa292 Removed a few dsp files and changed saving/loading eoPops a bit. 2000-08-14 11:18:34 +00:00
mac
6d8e3a6504 Extreme cleanup, see src/obsolete for details 2000-08-10 14:18:34 +00:00
jmerelo
d2fedcb5b9 More changes to Makefile.am 2000-08-03 17:33:03 +00:00
jmerelo
1bee1e1f81 More changes to Makefile.am 2000-08-03 17:30:57 +00:00
mac
49ee190e10 Some 'improvements' added 2000-06-13 14:31:22 +00:00
mac
152d42d41e Removed eoEsBase and created an eoFixedLength 2000-06-13 09:43:34 +00:00
mac
e55e3813dc Oh, right found some errors 2000-06-12 20:23:20 +00:00
mac
4c4ce70c04 New ES routines 2000-06-12 20:09:59 +00:00
gustavo
902d88fef6 adding & modifying .cvsignore's 2000-04-03 09:32:43 +00:00
gustavo
b5606ad11a Maarten was right 2000-03-31 16:23:16 +00:00