Commit graph

33 commits

Author SHA1 Message Date
Caner Candan
85fdbe6aba - removed old parallelization parameters from the old-style from eoParser class 2011-01-26 18:08:59 +01:00
Caner Candan
07c22771cf + now you are able to enable or not parallelization with the option --parallelize-loops=1|0 2011-01-26 18:08:59 +01:00
Johann Dreo
4310aaf5cc replace TODO comments by @ŧodo doxygen command 2010-11-01 22:09:40 +01:00
Johann Dreo
9f4c073678 code to display only once the message about the help parameter + some indent fix + some more comments 2010-08-02 17:07:32 +02:00
kuepper
d7b935b645 * make_genotype_real.h (eoEsChromInit): Rewrite vecSigmaInit-handling:
If sigmaInit is relative (%), do not read vecSigmaInit. Otherwise
always use vecSigmaInit with default all values of sigmaInit.

* eoParser.h (eoParser::getORcreateParam): Make this a real if-then-else
clause around ptParam (found or not).

* eoParam.h (eoValueParam::setValue): Document.
(eoValueParam<std::vector<double> >::setValue): Allow delimiters ',' and
';'. A plain ' ' does not work, as it is not correctly read by
eoParser::readFrom.
2006-11-16 12:35:46 +00:00
kuepper
cf2a57dd88 Simplify configuration.
Remove support for (outdated) <strstream>, require <sstream>.
Require uint32_t for now, defined in stdint.h according to C99.
Some general cleanup and more documentation.
2005-09-28 21:49:26 +00:00
kuepper
438e8ef6d6 Use getORcreateParam instead of createParam when getting values from
the eoParser.
Update setORcreateParam.
2005-09-12 17:53:25 +00:00
kuepper
f0fd15f20c Provide eoParser::setORcreateParam to set a paramter in the parser to
a specific value.
2005-08-29 07:50:50 +00:00
evomarc
87ddb6f8b5 Added a prefix data in eoParser - and the setPrefix method -
for multi-population parameter input. Now you can call the make_xxx
functions from teh src/do directory several times for different populations
provided you do different calls to setPrefix inbetween
2004-04-05 15:28:12 +00:00
maartenkeijzer
153b80440c changed to using sstream 2003-02-28 16:49:19 +00:00
evomarc
cf40eab455 Corrected a typo 2002-12-09 06:17:25 +00:00
evomarc
53eac8838b Added the method getORcreateParam.
It has exactly the same syntax than the createParam method
but it first checks whether the param has been laready entered before creating it
2002-02-08 07:49:32 +00:00
evomarc
58f5fd2f61 Added method
eoParam* getParamWithLongName(std::string _name);
so now you can get a parameter in another place than where it was defined
just by giving its name
2001-11-05 16:38:52 +00:00
evomarc
42cb1981d5 In eoParser::readFrom, added a test to avoid reading non-parser sections
as these generally contain many -xxx that generate a reading error
when xxx is not a keyword.
This allows to use State-savec files directly as parameter files
2001-05-08 03:49:35 +00:00
evomarc
0aa6a235ef Replaced stupid eoRateParam by eoValueParam<eoHowMnay>
Had to transform eoHowMany into an eoPersistent ...
2001-05-07 07:13:36 +00:00
evomarc
56c9464306 The new libga
Apart from big changes in the src/ga dir, and the addition of the src/do dir
it also generated a few changes here and there, e.g. some include file still
missing. Also removed some warning from some test files.
2001-04-24 04:52:04 +00:00
evomarc
28c6b9a285 Modified printOn so that parameters that are not set explicitely by the user
are commented out - but still appear. Uses the (now public and pure virtual
in the base class eoParameterLoader) method isItThere.
2001-04-11 04:44:39 +00:00
jmerelo
0dd3e27e4e Moved out of the 'obsolete' directory a couple of honest classes, which didn't harm anybody; activated also in Makefile.am the program that tested them 2001-02-13 22:35:07 +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
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
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
0447391f7c Modified the help message for the short name (added the missing =) 2000-12-26 10:28:27 +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
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
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
6893a8565d Removed this ugly defaulting to 1 behaviour and solved it using template specialization 2000-05-25 13:04:57 +00:00
mac
9bcf9d95f8 Finalized Checkpointing, see t-eoCheckpointing for a test 2000-03-31 10:02:18 +00:00
mac
a2457cf126 few minor mods 2000-03-23 14:41:12 +00:00
mac
f290f94301 Adapted it for the poor stdc++ support of g++ 2000-03-22 18:55:12 +00:00
mac
6c79787c43 Changed some includes for the new dir structure 2000-03-22 16:49:35 +00:00
mac
81751e279f Added utilities directory, this contains state, parser etc. 2000-03-22 14:04:03 +00:00