Commit graph

134 commits

Author SHA1 Message Date
evomarc
6085c82229 Adding test file for ES - note that it's completely different from old
eoESFull.cp - and hence has an other name, t-eoESAll.cpp.
Old eoESFull.cp is still there (and working) but is not in the test targets
2001-05-02 11:09:57 +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
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
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
bfca8ca433 Sorry, last check in was a mistake 2001-04-09 14:20:48 +00:00
evomarc
e3745d0674 Commented some ====== that resulted in error when running autogen.sh 2001-04-09 08:52:41 +00:00
evomarc
ddc6650ce5 Added the signal handling - see eoCtrlCContinue.h
I've disabled it in case of MSC as I don't know if this works there ...

Also added a couple of "virtual" in the ga dir
2001-04-04 03:47:33 +00:00
maartenkeijzer
a1508b75a2 added test for printing population 2001-03-23 12:24:39 +00:00
maartenkeijzer
efd02fa4b6 oops 2001-03-22 11:22:31 +00:00
maartenkeijzer
0f243e4d92 temporarily added fitness_traits to keep people up to date with this proposal 2001-03-22 09:00:30 +00:00
maartenkeijzer
6f6ce7d81a test paretofitness class 2001-03-21 11:09:29 +00:00
maartenkeijzer
3d82e6cddf Few changes in setting up the algorithms. It now gives an example of how to
write factory functions
2001-03-21 11:08:27 +00:00
maartenkeijzer
11cdd38f24 added help 2001-03-16 14:19:11 +00:00
maartenkeijzer
3c45141ba7 Now look how perty t-eoPareto has become (though it doesn't do a proper mo modelling yet) 2001-03-16 14:09:55 +00:00
maartenkeijzer
548b2ae528 Some bugfixing in MO optimization and added empty check: target in tutorial 2001-03-16 13:11:32 +00:00
maartenkeijzer
2dd807ecbe oops, ngens is now the nice 10 2001-03-16 12:09:36 +00:00
maartenkeijzer
d09c216b61 Ok, made an eoParetoFitness class, which meant that I could roll back a few changes in EO.h (phew).
Also changed eoSelectFromWorth etc.
2001-03-16 12:08:26 +00:00
maartenkeijzer
67c3575873 Using nd-sorting now 2001-03-14 12:47:14 +00:00
maartenkeijzer
fe89662e3c t-eoPareto now plots the evolving population and t-eoRandom check is slightly more strict 2001-03-14 10:14:27 +00:00
maartenkeijzer
3c19641c70 Added pareto based stuff 2001-03-12 16:03:08 +00:00
maartenkeijzer
a27aa7112a Test for a ssga added. 2001-03-09 14:14:53 +00:00
maartenkeijzer
7eecd318f9 swapped order of libeo and libeoutils, gcc 2.91 did not like it 2001-02-27 11:44:28 +00:00
maartenkeijzer
a79075f673 Modified eoInit so that it would use the eoRndGenerator base class.
To be able to use the primitive std::generate function, added a
set of wrappers in eoSTLFunctor.h that have the copy semantics most
STL functions expect (namely pass-by-value rather then pass-by-reference).

Updated test/Makefile.am to also test t-eoRandom
2001-02-19 12:23:13 +00:00
evomarc
f36f6d1265 Added the eo::rng (instead of rng) as default parameter to all calls.
Also t-eoRandom was abruptly aborting-> a min was greater than a max, and
exceptions were not being caught.
2001-02-18 04:34:57 +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
7e849e2082 The perf2worth major check in
2 new important classes: eoPerf2Worth and eoSelectFromWorth
Instances of eoPerf2Worth are eoRanking and eoLinearFitScaling.
Coming soon (piece of cake now) are the niching strategies (sharing, clearing)
2001-02-16 08:21:25 +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
jmerelo
17d55ae92b Just playing with the CVS variables 2001-02-13 22:39:56 +00:00
jmerelo
b7d071d92d Just playing with the CVS variables 2001-02-13 22:38:23 +00:00
jmerelo
0dd3e27e4e Moved out of the 'obsolete' directory a couple of honest classes, which didn't harm anybody; activated also in Makefile.am the program that tested them 2001-02-13 22:35:07 +00:00
maartenkeijzer
680229507f Just an update 2001-02-13 10:35:47 +00:00
maartenkeijzer
dea8a51f7e Ok, updated the Makefile.am again to use the
make check

Command I picked up in the automake documentation (RTFM, you know)

Tagged a lot of header functions in the GnuPlot files with 'inline',
so they can be used from more than one sourcefile.

Ok, now the interesting news. Started a new library libga (not to be confused
with Matthew's GaLib). Here I suggest we put a fairly complete and configurable
genetic algorithm. Just to see how far we can stretch ourselves and also to have
a GA-componenent that can be used in other applications without having to rebuild
the entire thing. test/t-eoGA.cpp tests this library
2001-02-12 13:58:51 +00:00
maartenkeijzer
9f5069b23a 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.
2001-02-11 16:35:21 +00:00
maartenkeijzer
27432e5377 run_tests, add your own tests here 2001-02-11 16:01:47 +00:00
maartenkeijzer
d58511132c Removed the -O2 flag from the makefile in the test directory.
Builds should go faster now.
2001-02-09 11:52:55 +00:00
evomarc
0c1036617e Big change in eoGeneralOp interface: left out! 2001-02-09 05:52:44 +00:00
evomarc
018db6689a The big GeneraoOp interface change - in test dir 2001-02-09 05:43:06 +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
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
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
da66858308 Full t-eoSelect file, that allows to test all selectors
feature: generation of files suitable for gnuplot to see how individual spread out
2001-01-25 16:14:25 +00:00
evomarc
a998ad0a41 Checking in the name changes in selection procedures.
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:-(
2001-01-05 05:42:08 +00:00
evomarc
647156c6a8 Adding t-eoSelect.cpp to test selection procedures. Modified Makefile.am accordingly 2001-01-02 13:31:40 +00:00
evomarc
7b1074f44e Back to the 3 lines to declare a parameter and read it within the parser:
some compiler (egcs) don't like the createParam method in eoParser.h
2000-12-22 14:59:10 +00:00
evomarc
d411685a5c Removed the silly reference for all parameters (cut-and-paste error!).
But the funny thing is that my compiler did not complain ...
2000-12-21 05:35:01 +00:00
evomarc
ca586fc799 Added t-eoRepalcement.cpp, that tests all new replacement procedures 2000-12-19 18:42:41 +00:00
gustavoromero
5682f296cd fixing template type 2000-11-13 12:12:14 +00:00
gustavoromero
34be1fd174 adding evaluation in some places 2000-11-13 12:09:53 +00:00