Commit graph

302 commits

Author SHA1 Message Date
maartenkeijzer
07bc61e694 Added a bit more documentation, more to follow (I hope) 2001-02-13 14:43:54 +00:00
maartenkeijzer
262869d0ae fixed a bug: the parser now correctly parses parameters of the form
-Pvalue

This will now produce 'value'. The buggy parser would parse 'alue' here. I am truly and deeply
ashamed to have created such an off-by-one error.

Marc assumed this was wanted behaviour (so that it should read: -P=value)
I must admit that this is a logical conclusion, though it was merely a side-effect
of the error. To not force Marc to rewrite the tutorial and his way of working with
EO, I decided to make a feature out of the bug, so that now the parser will parse:

-Pvalue
-P=value

and of course the true and blue:

-Parameter=value

I will now go and check if I sent out some crappy papers caused by this bug (as I've been using eo!)
2001-02-13 12:38:19 +00:00
maartenkeijzer
dea8a51f7e Ok, updated the Makefile.am again to use the
make check

Command I picked up in the automake documentation (RTFM, you know)

Tagged a lot of header functions in the GnuPlot files with 'inline',
so they can be used from more than one sourcefile.

Ok, now the interesting news. Started a new library libga (not to be confused
with Matthew's GaLib). Here I suggest we put a fairly complete and configurable
genetic algorithm. Just to see how far we can stretch ourselves and also to have
a GA-componenent that can be used in other applications without having to rebuild
the entire thing. test/t-eoGA.cpp tests this library
2001-02-12 13:58:51 +00:00
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
b893445d31 Added a comment before eoPopulator class so it is documented! 2001-02-09 08:32:47 +00:00
evomarc
890218e270 Removed eoEvolutionStrategy because it was based on eoGeneralOp old interface 2001-02-09 05:28:33 +00:00
evomarc
d347fa9da2 Because it has not extension, I had forgotten to update the eo file itself!
Now reflects the change of eoGenOp interface and the changes of names in ga
2001-02-09 05:25:25 +00:00
evomarc
09b669ed46 Added the GnuPlotSnapshotMonitor, the eoScalarFitnessStat and eoFDCStat in checkpointing 2001-02-09 05:21:04 +00:00
evomarc
3b2125e060 Left-out from the big change of general op interface! 2001-02-09 05:10:25 +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
d3525298fe Added the handling of generic operators in Combined Ops 2001-02-07 05:13:33 +00:00
evomarc
b89d06386d Added the shuffle(vector<const EOT*>) method 2001-02-07 05:11:37 +00:00
evomarc
1c93adc43a Added selection methods
eoBestSelect            always return the best individual
eoSequentialSelect      a selectOne version of eoDetSelect (uses an index to
                        return next offspring from sorted pop)
2001-02-07 05:04:24 +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
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