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:
parent
fc172ef858
commit
fd8a2529a5
10 changed files with 77 additions and 25 deletions
|
|
@ -58,7 +58,7 @@ class boolean_generator
|
|||
public :
|
||||
boolean_generator(float _bias = 0.5, eoRng& _rng = rng) : bias(_bias), gen(_rng) {}
|
||||
|
||||
bool operator()(void) { return gen.flip(0.5); }
|
||||
bool operator()(void) { return gen.flip(bias); }
|
||||
private :
|
||||
float bias;
|
||||
eoRng& gen;
|
||||
|
|
|
|||
Reference in a new issue