Commit graph

38 commits

Author SHA1 Message Date
evomarc
f41cd957c0 Changes due to MSVC 2001-11-17 07:22:59 +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
0816b742d9 Adding PBIL files - simple PBIL algorithm with simple additive update rule 2001-11-08 06:49:38 +00:00
evomarc
9b7556d81e I have changed all calls to use an eoParser rather than an eoParameterLoader
This is required if you want to use the method getParamWithLongName that allows
one to get a value of a parameter read somewhere else.
After changing 3 calls due to that, I decided to change ALL calls within
the make_xxx functions
2001-11-08 06:14:59 +00:00
evomarc
f7377b0fcf All files on one line in Makefile.am (for Windows) 2001-10-18 04:37:14 +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
0f9f1cc3ea Comments update 2001-09-04 06:37:25 +00:00
jmerelo
88f281b606 Added 'Viral' operators with test. Implements the Mobile Genetic Elements Technique 2001-05-10 12:16:00 +00:00
evomarc
b7915a4bbe CHanged CXXFLAGS to nothing - so lib files remain of manageable size! 2001-05-08 04:44:30 +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
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
4a152dc172 Removing make_help.cpp 2001-05-01 05:00:29 +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
1c75344197 Some changes in names, before too many users have to modify their code :-)
Changed ga.h in src/ga into make_ga.h (was ambiguous with src/ga.h)
Chenged 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!)
2001-04-30 12:26:31 +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
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
f7bdc4a074 Forgot the 2 representation dependent make_XXX.h 2001-04-24 05:08:08 +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
e3834441fd Added a new boolean argument to the ctor of eoBitMutation:
you can now specify a rate-per-bit that will be normalized by the chromSize
2001-04-12 05:29:34 +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
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
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
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
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
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
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
5e33a2e50b dded Uniform Crossover (!) and "deterministic" bit-filp mutation 2000-10-24 03:58:02 +00:00
evomarc
9cc1cfd1b4 Added the calls to base class I/O routines in printOn and readFrom 2000-10-24 03:57:10 +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
6d8e3a6504 Extreme cleanup, see src/obsolete for details 2000-08-10 14:18:34 +00:00
mac
c1b0a6c503 Removed dependence on eoUniform, changed it to use rng.random or rng.uniform directly 2000-06-10 13:22:53 +00:00
mac
6e925bedea Updated documentation to give proper include file in doxygen and define a module bitstring 2000-04-09 09:44:53 +00:00
gustavo
902d88fef6 adding & modifying .cvsignore's 2000-04-03 09:32:43 +00:00
gustavo
5fe7510807 fixing makefiles 2000-03-30 17:11:20 +00:00
gustavo
1fe3a72e10 changing Makefile.am's to accept new subdiretory structure 2000-03-30 14:20:25 +00:00
mac
6c79787c43 Changed some includes for the new dir structure 2000-03-22 16:49:35 +00:00
mac
2799347236 moving... 2000-03-22 14:23:20 +00:00