Commit graph

68 commits

Author SHA1 Message Date
maartenkeijzer
4aed181311 Removed small bug in reading outside a buffer in eoParser::readFrom
This caused the parser to crash when a simple flag of the form program -f
was given.
2001-02-11 16:25:03 +00:00
jmerelo
3c2df139bd Minor bugs for Win quashed; fixed Win project files 2001-02-09 16:52:06 +00:00
evomarc
09b669ed46 Added the GnuPlotSnapshotMonitor, the eoScalarFitnessStat and eoFDCStat in checkpointing 2001-02-09 05:21:04 +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
1b681e4e0d Added the missing include of eoScalarFitness - mandatory due to
explicit specialization for eoParamValue<vector<eoMinimizingFitness> >
2001-02-07 05:15:18 +00:00
evomarc
f9fed9acc1 Forgotten a debug print 2001-02-01 05:27:36 +00:00
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
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
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
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
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
0447391f7c Modified the help message for the short name (added the missing =) 2000-12-26 10:28:27 +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
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
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
5c9bec34d6 Removed eoCopyElite.h, redundant with eoMerge.h 2000-11-30 06:04: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
f5174e3a42 Added fstream in the include files - I had an error message at some point! 2000-11-28 15:40:39 +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
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
265be972ef Made eoBestFitnessStat an eoStat, NOT an eoSortedStat
Cde VS: Committing in .
2000-11-17 17:50:08 +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
38838f753a fix no newline at end of file warning 2000-11-08 13:26:03 +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
maartenkeijzer
08abf46576 Another attempt in adding the flush 2000-10-27 09:13:06 +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
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
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
8ae796ab28 Added symbolic regression, which tests combined ops as well 2000-08-18 08:44:22 +00:00
mac
6d8e3a6504 Extreme cleanup, see src/obsolete for details 2000-08-10 14:18:34 +00:00
jmerelo
1bee1e1f81 More changes to Makefile.am 2000-08-03 17:30:57 +00:00
jmerelo
afd636cdbf More changes to Makefile.am 2000-08-03 17:22:46 +00:00