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 outputint1
outputsize_xSize of two dimensional outputint
outputsize_ySize of two dimensional outputint
minMinimum value of the output (inclusive)float0
maxMaximum value of the output (inclusive)float1
intervalHow often to change the outputint1

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

blog comments powered by Disqus