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

NameDescriptionTypeDefault
classThe class name for the module; must be "Arbiter".string
nameThe name of this instance of the module.string
no_of_inputsThe number of inputsint2

Module Connections

Inputs

NameDescription
*A number of inputs named INPUT_1 and VALUE_1 etc

Outputs

NameDescription
OUTPUTThe selected output
VALUEThe maximum value

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Arbiter.h
Arbiter.cc
Arbiter.ikc

blog comments powered by Disqus