Synopsis
This operator provides a conditional execution of subprocesses.
Description
This operator executes one of its two subprocesses based on a condition. The first subprocess is executed if the specified condition is true, the second one is executed if it is false (if-then-else).
If the condition "attribute_value_filter" is used, the same attribute value conditions already known from the ExampleFilter operator can be used. In addition to the known attribute value relation format (e.g. "att1>=0.7"), this operator expects an additional definition for the used example which cam be added in "[" and "]" after the attribute value condition. The following values are possible:
- a fixed number, e.g. "att1>0.7 [7]" meaning that the value for attribute "att1" for the example 7 must be greater than 0.7
- the wildcard "*" meaning that the attribute value condition must be fulfilled for all examples, e.g. "att4<=5 [*]"
- no example definition, meaning the same as the wildcard definition [*]
Input
- condition:
- input 1:
Output
- input 1:
Parameters
- condition type: The condition which is used for the condition check.
- condition value: A condition parameter which might be desired for some condition checks.
- io object: The class of the object(s) which should be checked for existance.
- return inner output: Indicates if the output of the inner operators should be delivered.