Randomizer

Module that outputs a random array each time step. Can be one or two dimensional depending on whether outputsize_x and outputsize_y or only outputsize is used in the xml definition.

Example XML definition

Example

  <module
      class = "Randomizer"
      name = "Randomizer"
      outputsize = "10"
      min = "0"
      max = "1"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Randomizer".string
nameThe name of this instance of the module.string
outputsizeSize of one dimensional outputint
outputsize_xSize of two dimensional outputint
outputsize_ySize of two dimensional outputint
minMinimum value of the output (inclusive)int
maxMaximum value of the output (inclusive)int

Module Connections

Outputs

NameDescription
OUTPUTThe output with random values

Author

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

Files

Randomizer.h
Randomizer.cc
Randomizer.ikc