Combiner
apama.analyticskit.blocks.core.Combiner
Calculates the output based on the selected mode and the connected inputs.
Available modes are:
Minimum: Outputs the minimum of the connected inputs which have received a value. All numeric literals are treated as
float type.
Maximum: Outputs the maximum of the connected inputs which have received a value. All numeric literals are treated as
float type.
Average (Mean): Outputs the average (mean) of the connected inputs for which a value has been received. All numeric literals are treated as
float type.
Latest: Outputs the latest changed value. If multiple values change in a single activation, then the input port with the highest number is used. For example, if Value 1 and Value 2 get an updated value, Value 2 is selected for output. Inputs must be of the same type.
Parameters
Name | Description | Type | Notes |
Mode | The mode to be selected. | Option - one of: Minimum Maximum Average (Mean) Latest | |
Input Port Details
Name | Description | Type |
Value 1 | First input value to the block. | any |
Value 2 | Second input value to the block. | any |
Value 3 | Third input value to the block. | any |
Value 4 | Fourth input value to the block. | any |
Value 5 | Fifth input value to the block. | any |
Output Port Details
Name | Description | Type |
Combined Value | The calculated combined value. | sameAsAll(value1, value2, value3, value4, value5) |