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: ???
This commit is contained in:
mac 2000-09-09 13:43:31 +00:00
commit fd8a2529a5
10 changed files with 77 additions and 25 deletions

View file

@ -127,8 +127,7 @@ public:
std::string className(void) const { return "Parser"; }
/// true if the user made an error or asked for help
bool userNeedsHelp(void) const { return needHelp.value() || !messages.empty(); }
bool userNeedsHelp(void);
/**
* Prints an automatic help in the specified output using the information
* provided by parameters
@ -148,14 +147,18 @@ private:
void updateParameters() const;
typedef std::multimap<std::string, eoParam*> MultiMapType;
// used to store all parameters that are processed
MultiMapType params;
string programName;
string programDescription;
map<char, string> shortNameMap;
map<string, string> longNameMap;
typedef map<char, string> ShortNameMapType;
ShortNameMapType shortNameMap;
typedef map<string, string> LongNameMapType;
LongNameMapType longNameMap;
eoValueParam<bool> needHelp;