Arbiter
Module that selects between its inputs based on the values in the value inputs. The output is a copy of the input with the highest corresponding value input. The inputs can be one or two dimensional. All inputs must have the same size. When the values are equal, INPUT_1 is selected. If the value inputs are not connected, the euclidean norm of the corresponding input is used instead. The number of intputs are selected using the parameter number_of_inputs
Example XML definition
An example
<module class = "Arbiter" name = "Arbiter" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "Arbiter". | string | |
name | The name of this instance of the module. | string | |
no_of_inputs | The number of inputs | int | 2 |
Module Connections
Inputs
Name | Description |
---|---|
* | A number of inputs named INPUT_1 and VALUE_1 etc |
Outputs
Name | Description |
---|---|
OUTPUT | The selected output |
VALUE | The maximum value |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Arbiter.h
Arbiter.cc
Arbiter.ikc