Integrator
Module used to integrate its input over time. The output is calculated as, output(t) = alpha * output(t) + beta * input(t). Depending on the constants alpha and beta, the module can be used as leaky integrator or an accumulator. If they are set in the XML-file the constants minimum and maximum set the allowed range of the output. It will be clipped if it is outside the range.
Example XML definition
Example
<module
class = "Integrator"
name = "Integrator"
alpha = "0.9"
beta = "0.1"
/>
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| class | The class name for the module; must be "Integrator". | string | |
| name | The name of this instance of the module. | string | |
| alpha | How much does the integrater leak? | float | 0.9 |
| beta | How much of the input is stored in the integrator? | float | 0.1 |
| minimum | The minimum value of the output | float | 0.0 |
| maximum | The maximum value of the output | float | 1.0 |
Module Connections
Inputs
| Name | Description |
|---|---|
| INPUT | The input |
Outputs
| Name | Description |
|---|---|
| OUTPUT | The output |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Integrator.h
Integrator.cc
Integrator.ikc