Commit graph

235 commits

Author SHA1 Message Date
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
evomarc
52a9c830c8 I added this very simple instance of operator proportional selector
for the tutorial - it is consistent with all other xxxCombined constructs.
However, I am not sure that Occam's razor will not make it widely used...
2000-11-28 17:41:41 +00:00
evomarc
12c6bdf058 Added the class eoSGATransform: I break the one file / one class rule
a lot, but both are supposed to be used mainly in the tutorial, not
in real life :-)
2000-11-28 17:17:19 +00:00
evomarc
f5174e3a42 Added fstream in the include files - I had an error message at some point! 2000-11-28 15:40:39 +00:00
evomarc
e4b735b17f Added a comment to stdout upon termination - so we know why we stop in case
of multiple criteria
2000-11-28 15:35:09 +00:00
evomarc
5aa258fbcb Minor change of the default label 2000-11-28 15:31:38 +00:00
evomarc
afdcdf5d07 Added a few comments so Doxygen documents all classes 2000-11-28 08:20:01 +00:00
evomarc
622cbea0d5 This is the first attempt to use gnuplot through a fork to plot statistics.
At the moment it is only tested for Linux!
Use with care
2000-11-28 06:58:06 +00:00
evomarc
bee8388a1e Modified the contructor: the default value for the delimiter is now " "
and I added a boolean argument to indicate whether or not we want to
         overwrite an existing file with same name (default is overwrite).
Added the getFileName accessor.
2000-11-28 06:46:37 +00:00
evomarc
b39ebbed70 Added eoSteadyGenContinue.h, es/eoReal.h and es/eoRealOp.h 2000-11-24 17:45:07 +00:00
evomarc
d0e566fdf4 Very simple classes for vectors of (unbounded) real numbers.
A few straightforward operators only (BLX-0, uniform mutation).
Mostly for tutorial reasons - though it might improve in usefull classes later
2000-11-24 17:44:21 +00:00
evomarc
8f9f255223 An eoContinue class that allows a minimum number of generations,
then stops whenever a number of generations happens without fitness
improvement.
2000-11-24 17:41:39 +00:00
evomarc
08e6be4b66 Added a verbose mode (the default behavior) which is as before.
But when in non-verbose mode, prints only one line per generation.
2000-11-24 17:36:03 +00:00
evomarc
0fd1336bfe Turned the eoBestFitness into an eoStat (it was an eoSortedStat).
Alos added a few comments so that Doxygen documents all classes there.
2000-11-24 17:30:37 +00:00
evomarc
3ec57ed93f Changed Maarten's 2-continuator construct into a vector of pointer,
as in all other Combined constructs in EO.
Kept the construtor with 2 eoCOntinue for backward compatibility.
Added of course the add method!
2000-11-24 17:26:22 +00:00
gustavoromero
6a7102f5b6 changing genetic operators 2000-11-24 12:33:44 +00:00
gustavoromero
2b03bd6dae fix Fitness default construction value 2000-11-24 11:52:49 +00:00
evomarc
265be972ef Made eoBestFitnessStat an eoStat, NOT an eoSortedStat
Cde VS: Committing in .
2000-11-17 17:50:08 +00:00
evomarc
683bc2e44f dded the className method for eoMon, eoBin and eoQuad classes 2000-11-17 17:06:53 +00:00
gustavoromero
a1cd1fd3bf fix warning: no newline at end of file 2000-11-10 09:55:10 +00:00
gustavoromero
5af354e455 fix no newline at end of file warning 2000-11-08 15:15:26 +00:00
gustavoromero
1316949216 choose a constructor 2000-11-08 13:37:41 +00:00
gustavoromero
38838f753a fix no newline at end of file warning 2000-11-08 13:26:03 +00:00
gustavoromero
f48fbcf51a adding a include for apply.h 2000-11-08 12:56:14 +00:00
gustavoromero
2d5dbf6cfb fix no newline at end of file warning 2000-11-08 12:55:26 +00:00
gustavoromero
9692852c95 bug fix 2000-11-08 12:38:13 +00:00
gustavoromero
31ed49002b removing a warning 2000-11-07 19:13:22 +00:00
evomarc
6fc47590cd Added constructors with 2 params _min and _max in generators
so you can now generate things in [_min, _max) instead of [0,_max) only
Modified the private data from maxim to {minim, range} accordingly.
2000-11-05 05:33:43 +00:00
evomarc
0642954035 Added a default value (0.5) to method flip 2000-11-05 04:50:10 +00:00
evomarc
01e4aa9cdc Added some safety test in roulette_wheel procedures:
if total is zero, used to return iterator -1 - now returns uniform choice
2000-10-30 14:54:29 +00:00
evomarc
e3e4a0b719 Fine tuning of printOn: if fitness is invalid, now prints it 2000-10-30 14:51:57 +00:00
maartenkeijzer
08abf46576 Another attempt in adding the flush 2000-10-27 09:13:06 +00:00
maartenkeijzer
8684e1fac1 updated version info, added flush to stdoutmonitor and sprinkled a few typenames
in eoPop.h and eoGOpSelector.h (egcs 2.96 started complaining).
2000-10-27 09:12:31 +00:00
evomarc
5e31ae1338 added a second ctor with more didactic ordering of parameters (for tutorial) 2000-10-27 04:38:29 +00:00
evomarc
2a0a3e074d Added the member function append( unsigned _popSize, eoInit<EOT>& _chromInit )
who appends _popSize members to the population using an eoInit
2000-10-27 04:07:21 +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
maartenkeijzer
b0b0a3f9da It is using delim now 2000-10-23 10:58:54 +00:00
maartenkeijzer
f7c98d5b31 Changed functor base names and added to version 2000-10-09 16:13:20 +00:00
maartenkeijzer
1d0794c46a Added an eoSortedStatBase for more efficient statistic calculations
updated a few makefiles to include the html and latex docs with the
distribution.
2000-10-06 10:41:38 +00:00
maartenkeijzer
543d5a5918 Changed ostream_iterator<double> to use AtomType rather than double.
Stupid me!
2000-10-06 07:32:26 +00:00
mac
f1ec21e724 Error in random_generator removed. 2000-09-20 13:32:28 +00:00
mac
f7c157c154 Changed construction order as gcc was warning 2000-09-09 13:52:16 +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
fc172ef858 Added -O2 as compiler flag 2000-08-23 14:56:04 +00:00
mac
ca46a3651b ok, fixed this problem with typedefs in gcc-0.92 (strange....) 2000-08-23 13:07:51 +00:00
mac
4078394748 Yet another change in eoParseTree 2000-08-23 12:52:48 +00:00
mac
e18a48d4a1 eoParseTree-- changed typedef 2000-08-23 12:50:34 +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