Added random selection
This commit is contained in:
parent
48a784d122
commit
967670e2c7
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,10 @@ eoAlgo<EOT> & do_make_algo_scalar(eoParameterLoader& _parser, eoState& _state, e
|
||||||
{
|
{
|
||||||
select = new eoProportionalSelect<EOT>;
|
select = new eoProportionalSelect<EOT>;
|
||||||
}
|
}
|
||||||
|
else if (ppSelect.first == string("Random")) // no argument
|
||||||
|
{
|
||||||
|
select = new eoRandomSelect<EOT>;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
string stmp = string("Invalid selection: ") + ppSelect.first;
|
string stmp = string("Invalid selection: ") + ppSelect.first;
|
||||||
|
|
|
||||||
Reference in a new issue