Commit graph

32 commits

Author SHA1 Message Date
nojhan
1bc2c5cc46 added the 'value' method to eoParser, so as to permits a direct access to the value stored within the eovalueParam corresponding to a given param name 2012-03-26 18:18:45 +02:00
nojhan
0808c52bf8 removed a (funny but wontfix notabug) old comment in eoParser 2012-03-15 18:15:23 +01:00
nojhan
7e7a47c9ba added a getParam method to the eoParser, that raise an exception if the parameter has not been declared 2012-03-15 18:14:04 +01:00
nojhan
59448b9635 more doc on the parser format 2011-10-04 21:43:53 +02:00
nojhan
ae919bc712 shortcut to get a param value 2011-10-02 22:22:18 +02:00
Caner Candan
56c6edab04 * indentations + whitespace cleanup 2011-05-05 16:54:00 +02:00
Caner Candan
ecd8f7ec03 + now you are able to enable or not parallelization with the option --parallelize-loops=1|0
Conflicts:

	eo/src/apply.h
	eo/src/utils/eoParser.cpp
	eo/src/utils/eoParser.h
2011-01-27 10:29:09 +01:00
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
faaf13194f fix most of the doxygen warnings 2010-11-09 11:44:28 +01:00
Johann Dreo
2104f5b7e9 and finally... still more grouping in documentation. 2010-11-05 22:46:15 +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
4510b6d712 cleanup, prepare vecSigmaInit change 2005-10-10 21:42:31 +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
a3a9010e9a setORcreate returns it parameter. 2005-09-13 10:24:50 +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
okoenig
86fa476c67 Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary. 2003-02-27 19:28:07 +00:00
evomarc
43d42510bc Added accessors to private parameter stopOnUnknownParam 2002-09-18 15:36:41 +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
eafaa2d65e Added the pure virtual isItThere method in base class eoParameterLoader
Also made the corresponding isItThere method in eoParser public.
This allows one to test if the user did actually input a given parameter
and thus not to write it in the output if not - as we want the output
of printOn to be "as identical as possible" to the actual user input
2001-04-10 15:08:09 +00:00
jmerelo
8ff63ff776 Added a new xover to varlenxover 2001-03-21 13:35:10 +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
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
gustavo
e5825c4d75 some fix 2000-04-11 12:18:30 +00:00
mac
a2457cf126 few minor mods 2000-03-23 14:41: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