Commit graph

286 commits

Author SHA1 Message Date
evomarc
1ace1cf8f9 I had forgotten to add pipecom.h
Moreover, I got fed up with error due to const/non const, so I modified
PipeComSend to take a const argument. THe consequence is that it will not run
under plain C any more.
2001-02-01 05:17:16 +00:00
evomarc
56abe66582 Added the monitoring facilities for snapshots (i.e. generating and plotting a new file
every generation) which is different from the continuous monitoring (same file/plot is
angemented every generation).
This lead to a number of modifications in many files in utils dir

But now we can watch on-line
- fitness spreadout
- FDC plots
- multi-objective Pareto fronts (though the multi-objective sruff isn't there yet!)
2001-01-31 18:38:39 +00:00
evomarc
097d34be39 Comments added to remove undocumented classes from Doxygen documentation 2001-01-30 04:53:05 +00:00
evomarc
2b46277eed Added the truncate and the hasNoBoundAtAll methods in eoRealBounds.
The former simply set values to the boundary values in case they are out
The latter allows to short-cut all bound-checks when no need

SOme day I will put this in utils, and have a eoRealBounds.cpp in the
pre-compiled library
2001-01-29 10:25:44 +00:00
evomarc
0f985c627e Modified to use eoRealBounds rather than eoEsObjectiveBounds 2001-01-28 07:31:34 +00:00
evomarc
75dad8f899 Error in src/Makefile.am 2001-01-28 07:27:12 +00:00
evomarc
03bc482da0 Actually removed eoEsObjectiveBounds.h and evolution_strategies 2001-01-28 07:02:27 +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
508a5b9215 Added some comments so eoRealVectorBounds is documented 2001-01-27 08:38:31 +00:00
evomarc
c015b82506 Added eoGenericRealOp.h that are the exact copy of the operators of eoReaOp.h,
but in generic format.
They are used at the omoment only in eoEsStdevXOver.h that calls a crossover
on the object variables, then a crossover on teh stdev vectors!
A piece of cake :-)
2001-01-27 07:46:07 +00:00
evomarc
72e9590544 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...

I've also added in utils eoDistance, generic functor to compute distances,
including also the generic Euclidian distance
2001-01-27 07:43:58 +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
c917207b5d Added the bounds to all eoRealOp operators (and to the eoNormalMutation).
The eoESObjectiveBounds should soon dissapear!!
2001-01-26 18:26:30 +00:00
evomarc
70caa91b22 Typos in comments 2001-01-26 17:12:13 +00:00
evomarc
576249509b Some includes were missing in eoPop and eoOp that I had not noticed before
trying to compile test/t-eoSymreg.cpp
2001-01-26 17:09:33 +00:00
evomarc
ce031f10a3 Added eoRandomReduce 2001-01-26 04:06:09 +00:00
evomarc
42ac826f3c Added ranking selection (eoRankingSelect) and (linear) fitness scaling in
proportional selection (a completely different file, eoFitnessScalingSelect.h)
2001-01-25 16:13:15 +00:00
evomarc
c62521648b Added the shuffle method 2001-01-16 09:49:46 +00:00
evomarc
51f3b56fd2 Added the normal and 1/5 mutations (file es/eoNormalMutation.h) 2001-01-16 07:20:02 +00:00
evomarc
20b70de2a1 Added the normal mutation - and the 1/5 mutation 2001-01-16 07:18:45 +00:00
evomarc
a8bf667774 Added the eoRandomReduce class - hence I also added the shuffle method
in eoPop (I had been postponing that for a long time!) which in turn required
another class of random generator (whose operator() takes an unsigned as argument)
2001-01-16 05:52:01 +00:00
evomarc
f988b42fed Corrected some error in variable name after last changes in method append 2001-01-12 21:31:42 +00:00
evomarc
e532234d1c New versions of bounds for real variables.
Should supersede eoEsObjectiveBounds, whose name was misleading anyway
as this can be used in any REal-ceded GA for isntance
2001-01-11 11:02:37 +00:00
evomarc
4b2bb7f564 GOing to the generic operators: some additions (eoGeneric*)
and some modifications in eoFixedLength and eoVariableLength.
2001-01-11 10:48:31 +00:00
evomarc
61a85582d5 Added the namespace eo for the global variable rng in eoRNG.cpp
Also added "using eo::rng" in eoRNG.h so nothing has to be modified.
We should gradually move to write eo::rng everywhere, and remove that using
directive to be almost full-proofed against possible name collision.
2001-01-08 10:07:27 +00:00
evomarc
c34e94b0d0 Removed a forgotten comment :-) 2001-01-05 14:42:48 +00:00
evomarc
b2636604a2 Updated Makefile.am to account for the change of names in selectors 2001-01-05 06:23:54 +00:00
evomarc
67ae5f5a6f eoHowMany is now included in utils dir 2001-01-05 05:44:35 +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
4d77c9116f Sorry: removed eoSGATransform, that is in eoSGA.h ... 2001-01-04 05:06:09 +00:00
evomarc
2f13066625 Adding the selectin and replacement procedures 2001-01-04 05:00:40 +00:00
evomarc
3074101d1c Adding eoDetSelect, deterministic batch selection, that copies the individuals
one after the other. Should shuffle them in between (TODO).
2001-01-02 13:27:11 +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
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
6a0010474a A new util class to handle the rate/integer argument to selectors/replacement 2000-12-19 18:09:10 +00:00
evomarc
c18f63f7e4 Added utils/eoGnuplot1DMonitor.h ni the list of includes 2000-12-15 16:57:37 +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
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
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
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
2abab21960 adding a new terminator and a monitor 2000-12-01 19:09:34 +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