Commit graph

125 commits

Author SHA1 Message Date
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
gustavoromero
a1cd1fd3bf fix warning: no newline at end of file 2000-11-10 09:55:10 +00:00
gustavoromero
558bded5c0 adding old targets 2000-11-07 19:16:42 +00:00
gustavoromero
5bb5003a07 adding t-eoSymreg 2000-11-06 12:37:58 +00:00
maartenkeijzer
f7c98d5b31 Changed functor base names and added to version 2000-10-09 16:13:20 +00:00
mac
fd8a2529a5 eo: added some missing entries
Pop: error in nth_element_fitness
sga: error in eval
eoParseTree: oddities with gcc
checkpointing: added eoParser and eoState
eoParser: support for wrongly entered parameter names
rnd_generators: flip(0.5) -> flip(bias) in binary_generator
selectors.h: ???
2000-09-09 13:43:31 +00:00
mac
ff108477c3 eoCounter?
eoEasyEA -- made it copyable again
eoEvalFunc -- added specialized eoEvalFuncCounter
eoEvolutionStrategy -- nothing much
eoGenContinue -- nothing
eoPop -- fixed nth_element_fitness
eoBitOp -- fixed error in xover
eoFileMonitor -- now appends always
eoParam -- worked around memory leak in MSC's strstream
eoParser -- changed -pconfig_file to @config_file
eoParser -- added messages instead of exception when required param is missing
eoStat -- added eoDistanceStat
t-eoFunctor -- don't know
2000-08-23 12:03:01 +00:00
mac
be0c1996f7 Oh, right, dangling pragma 2000-08-18 08:57:26 +00:00
mac
8034b9f344 some signed/unsigned comparisons removed 2000-08-18 08:56:14 +00:00
mac
8ae796ab28 Added symbolic regression, which tests combined ops as well 2000-08-18 08:44:22 +00:00