Commit graph

5,284 commits

Author SHA1 Message Date
evomarc
52ed2ef8b6 Still the same !@#$$%% modif due to egcs problems ... 2001-01-02 07:35:56 +00:00
evomarc
721e8d2cd5 Follow-up to the modif of SecondBitEA.cpp due to egcs... 2001-01-02 07:23:35 +00:00
evomarc
5d8c30b2ae A few details in the comments 2001-01-02 07:19:55 +00:00
evomarc
04e429fdb1 I had to change the whole way the parameters are read, because EGCS did not
allow the nice constructs I had imagined (and compiled with g++)
- I removed the createParam method in Parser class - that was creating the parameters
  on the heap. Not allowed to have a templatized method ???
- I removed the subroutine read_param in SecondBitEA, as you need to create
  permanent parameters (eoParser only holds references), and egcs did not allow
  to create them by reference, i.e. in the line
  eoValueParam<xxx> & blablaParam(...);

So now everything is done in the main_function, and 3 lines are needed to create
and read every paramter (sigh ...)
2001-01-02 07:03:57 +00:00
evomarc
769b1fe31e A few additions and corrections ... 2000-12-27 11:37:05 +00:00
evomarc
0447391f7c Modified the help message for the short name (added the missing =) 2000-12-26 10:28:27 +00:00
evomarc
d7693131a6 Moved eoSGATransform into a separate file and added the dynamic version
(where arguments can be passed by value or by reference).
Modified eo accordingly
2000-12-26 08:33:48 +00:00
evomarc
5d0a03fa4e Modified the include list after the big eoReplacement changes 2000-12-26 07:42:09 +00:00
evomarc
f97ab01cd4 Had forgotten the section name of the parser.processParam call in the
definition fo the parameter.
2000-12-22 15:13:54 +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
21cd652430 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
Also removed the reference in parameters declarations (a cut-and-paste error).
2000-12-22 14:56:12 +00:00
evomarc
af950bdc78 Augmented the functors and STL parts - but I still would appreciate
help on the STL part!
2000-12-21 06:49:41 +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
a3555b2e8a Updated INSTALL and README to EO-specific instructions! 2000-12-19 22:14:29 +00:00
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