Commit graph

369 commits

Author SHA1 Message Date
evomarc
ed0e76350a Update after the change in replacements 2000-12-19 18:43:25 +00:00
evomarc
ca586fc799 Added t-eoRepalcement.cpp, that tests all new replacement procedures 2000-12-19 18:42:41 +00:00
evomarc
6acdcb6d9b THe big eoReplacement update:
The interface for eoReplacement is now eoPop<EOT>&, eoPop<EOT>&
(i.e. no const) and the result must be in the first argument in the end.

Hence it is possible to do SSGA and all intermediate replacmeent procedures

The classes derived from eoMergeReduce.h are now in a separate file
The SSGA-like replcaement procedures are in eoReduceMerge.h
A more general replacement can be found in eoSurviveAndDie.h
(it could be made a littel more general - still open for upgrades).

Also some accessors have been added to the eoPop (best and worse individuals)

And include file eo has been updated
2000-12-19 18:41:19 +00:00
evomarc
25dd305ee6 A few errors + local TOC at top of eoEngine 2000-12-19 18:32:09 +00:00
evomarc
47031e82c9 Bottom-Up/Top-Down modifs 2000-12-19 18:18:08 +00:00
evomarc
6a0010474a A new util class to handle the rate/integer argument to selectors/replacement 2000-12-19 18:09:10 +00:00
evomarc
727f190a88 Changed NoReplacement to GenerationalReplacement 2000-12-19 18:02:19 +00:00
evomarc
2a93bba7e6 Changed the "to-down / bottom-up" to "algorithm-based / component-based"
Also added all replacement procedures in eoEngine.html
and the general operator interface in eoOperators.html
2000-12-19 10:17:39 +00:00
evomarc
9c3453e876 A small detail ... 2000-12-19 05:31:54 +00:00
evomarc
ba78a70aa4 Updated teh INSTALL and README files that were really minimal!!! 2000-12-17 07:49:55 +00:00
evomarc
2d93e7374b Corrected a bad link 2000-12-15 18:09:08 +00:00
evomarc
44e715f241 deleted trash file lesson1.ps
CVS ----------------------------------------------------------------------
2000-12-15 17:01:11 +00:00
evomarc
c18f63f7e4 Added utils/eoGnuplot1DMonitor.h ni the list of includes 2000-12-15 16:57:37 +00:00
gustavoromero
a83da72b46 adding .deps 2000-12-11 09:28:40 +00:00
evomarc
3d93a07d74 Adding Templates in dir tutorial, to hold some simple files that
only need to be filled by the user to code new items.
At the moment, only eoMonOp (in mutation.tmpl), and
eoBinOp and eoQuadOp (in crossover.tmpl)
2000-12-08 15:10:13 +00:00
evomarc
00b435f19a Corrected a few bugs after the first "public" presentation 2000-12-08 14:16:13 +00:00
evomarc
0d9e6b2941 New base class eoUpdatable.h - for objects that need upates in eoCheckPoints
Also contains the class eoDynUpdater. They are eoUpdater, they receive an eoUpdatable
at construct time, and call their upate() method in their operator() method
2000-12-07 09:56:00 +00:00
gustavoromero
a4dd409033 small change 2000-12-05 13:46:21 +00:00
evomarc
1e3cd432d6 Removed trash file 2000-12-05 05:27:12 +00:00
evomarc
e0076740f8 Added virtual and const keywords all around - as I tried to use a derived
class for adaptive rates (see eoDynProportionalCombinedOp.h, at the moment
in the tutorial)
2000-12-05 05:22:55 +00:00
gustavoromero
c22047df11 erasing comments 2000-12-04 19:26:19 +00:00
gustavoromero
8ee0ae0e3a small improvements 2000-12-04 19:10:20 +00:00
evomarc
e5ff1bf59c Added normal mutation for reals, and corrected error of segment-> arithmetic
for the crossover operators
2000-12-04 16:49:42 +00:00
evomarc
c00c15145d omment of line apply(pop, eval) was found misleading ... 2000-12-04 15:01:31 +00:00
evomarc
b5382fce74 - added the #define for eo_verbose (true) and eo_no_verbose (false)
- added the eoNormMutation, simple normal mutation for simple real variables
2000-12-04 14:55:18 +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
0e62de2d14 Added the lastCall construct: if the stopping condition becomes true in eoCheckPoint,
a method called lastCall is called for everything contained in that checkpoint
      (stats, updaters and monitors). This can be extremely useful
      - for stateSavers (see below)
      - for monitoring things like rates of success of operators, where what you
        are interested in is the final result only.
Added of course a virtual method lastCall that does nothing by default in classes
      eoBaseStat, eoBaseSortedStat, eoUpdater and eoMonitor
Added a boolean to control the save of the state in method eoCountedStateSaver::lastCall
      so you can ask that the state is saved at final population, whatever happens.
      I also added the corresponding constructor to take this into account.
2000-12-04 06:58:43 +00:00
evomarc
5c5142e59c Added a comment so Doxygen documents it 2000-12-04 05:55:59 +00:00
evomarc
f7f226bae9 eoStdoutMonitor -> eoFileMonitor to correct an abusive cut-and-paste! 2000-12-02 08:35:42 +00:00
evomarc
d20d36a116 Suppressed the warning for the need to create a link - see html files log. 2000-12-02 08:29:45 +00:00
evomarc
46d9671e05 Changed the links to the EO doc - removed the need for a (Unix) link from
tutorial/html dir to doc/ dir: it's simpler, and I was not able to do
the same thing in Windows anyway!
2000-12-02 08:27:30 +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
gustavoromero
c829969431 initial version of mastermind 2000-12-01 19:13:12 +00:00
gustavoromero
2abab21960 adding a new terminator and a monitor 2000-12-01 19:09:34 +00:00
evomarc
41a85aaa7d Corrected the outState.regiserObject(parser) ommission (see SecondBitEA.html) 2000-12-01 18:26:16 +00:00
evomarc
b225f093e6 I had dropped the parser from the outState - so I had to modify also
read_param to get it back!
2000-12-01 18:03:17 +00:00
evomarc
c1dd2dd127 Used spell-checker!!! 2000-12-01 17:56:52 +00:00
gustavoromero
142c7d779c adding a lot of includes 2000-12-01 15:46:07 +00:00
gustavoromero
a9468f38c9 small fix for uniform 2000-11-30 17:11:53 +00:00
evomarc
9af974070a Corrected a small bug (!): the -C=value was not processed correctly
as somebody forgot one character when counting up to ... 3 :-)))
2000-11-30 06:38:15 +00:00
evomarc
109fc551ab Reversed the priority between command-line and parameter file 2000-11-30 06:20:20 +00:00
evomarc
2169a65f80 Moved eoCopyElite.h to obsolete dir - was redundant with eoMerge.h 2000-11-30 06:11:49 +00:00
evomarc
5c9bec34d6 Removed eoCopyElite.h, redundant with eoMerge.h 2000-11-30 06:04:09 +00:00
evomarc
5b26c61445 Added the tutorial SUBDIR
It works fine ... for make clean
But of course it would require some Makefile.am in each subdir of tutorial
and I am not sure I know what to put there...
2000-11-30 04:44:32 +00:00
gustavoromero
15c3588ac7 sorry, old version was right 2000-11-29 18:36:13 +00:00
evomarc
b8d4e7faef Initial version of the tutorial.
Warning: all Makefile's are hand-made, and will only work in Linux
2000-11-29 18:19:57 +00:00
evomarc
a27dc53ef0 dded teh comment about the link to be made from html to ../../doc 2000-11-29 18:19:18 +00:00
evomarc
ca843a88fc Initial version of the tutorial.
Warning: the Makefil is hand-made, and only works in Linux
2000-11-29 18:06:09 +00:00
evomarc
29b8f1153c An include file was missing!!!
I've inserted it in teh file actually - but if we go on with gnuplot,
it will need to be taken out again, and used in all other monitors
we will write using gnuplot (e.g. eoGnuplotWithErrorbarsMonitor,
eoGnuplotHistogramMonitor, ...).
2000-11-29 17:20:16 +00:00
evomarc
a69a198770 Added eoProportionalCombinedOp.h 2000-11-28 17:42:53 +00:00