Added keywords "Sequential" and "Random" as synonyms of resp. "Deterministic"

and "Uniform" - for EASEA
This commit is contained in:
evomarc 2003-04-27 06:08:11 +00:00
commit 364cded6a4

View file

@ -47,7 +47,9 @@ eoReduce<EOT> & decode_reduce(eoParamParamType & _ppReduce, eoState & _state)
eoReduce<EOT> * ptReduce; eoReduce<EOT> * ptReduce;
// ---------- Deterministic // ---------- Deterministic
if (_ppReduce.first == std::string("Deterministic")) if ( (_ppReduce.first == std::string("Deterministic")) ||
(_ppReduce.first == std::string("Sequential"))
)
{ {
ptReduce = new eoTruncate<EOT>; ptReduce = new eoTruncate<EOT>;
} }
@ -98,7 +100,9 @@ eoReduce<EOT> & decode_reduce(eoParamParamType & _ppReduce, eoState & _state)
ptReduce = new eoStochTournamentTruncate<EOT>(p); ptReduce = new eoStochTournamentTruncate<EOT>(p);
} }
else if (_ppReduce.first == std::string("Uniform")) else if ( (_ppReduce.first == std::string("Uniform")) ||
(_ppReduce.first == std::string("Random"))
)
{ {
ptReduce = new eoRandomReduce<EOT>; ptReduce = new eoRandomReduce<EOT>;
} }