Gate

Module that lets its input through to the output when the attribute "open" is set to "true", otherwise it sets all its outputs to 0.

Example XML definition

Example

  <module
      class = "Gate"
      name = "Gate"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Gate".string
nameThe name of this instance of the module.string
openIs the gate open?boolyes

Module Connections

Inputs

NameDescription
INPUTThe input

Outputs

NameDescription
OUTPUTThe output

Limitations

Should have an input that opens and closes the gate.

Author

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

Files

Gate.h
Gate.cc
Gate.ikc

blog comments powered by Disqus