InputFile

Example XML definition

Example

  <module
      class = "InputFile"
      name = "InputFile"
      filename = "data.txt"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "InputFile".string
nameThe name of this instance of the module.string
filenameFile to read the data fromstring
typeSetting type to static uses the full file as output that does not change over timechoices:
dynamic
static
iterationsNumber of times to iterate the filesint
extendNumber of additional time steps to run before the module sends the end-of-file signal to the IKAROS kernel. This attribute is used to allow the data in the input file to propagate through the network of modules before the execution is terminated.int0
print_iterationPrint the iteration number to standard outboolno

Module Connections

Outputs

NameDescription
*The outputs generated from columns in the file.

Limitations

It is not possible to loop the data file indefinitely.

Author

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

Files

InputFile.h
InputFile.cc
InputFile.ikc

blog comments powered by Disqus