Added keywords "Sequential" and "Random" as synonyms of resp. "Deterministic"
and "Uniform" - for EASEA
This commit is contained in:
parent
af5fee9478
commit
364cded6a4
1 changed files with 6 additions and 2 deletions
|
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue