To execute multiple sub processes
arjun
New Altair Community Member
Hi,
Need help in using switch case without a break so that it uses a right case for execution in Rapidminer
switch (n)
{
case constant1:
// code to be executed if n is equal to constant1;
break;
case constant2:
// code to be executed if n is equal to constant2;
break;
.
.
.
default:
// code to be executed if n doesn't match any constant
}
Tagged:
0
Answers
-
Hi arjun,
you can use the "Select Subprocess" operator to model each subprocess you need. In the parameter "select which" you can use a macro that you have to create before this operator to select the apropriate subprocess.
Cheers
Jan
1 -
If you have only two conditions then you can also use the related "Branch" subprocess operator.
0