InputFile
Example XML definition
Example
<module class = "InputFile" name = "InputFile" filename = "data.txt" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "InputFile". | string | |
name | The name of this instance of the module. | string | |
filename | File to read the data from | string | |
type | Setting type to static uses the full file as output that does not change over time | choices: dynamic static | |
iterations | Number of times to iterate the files | int | |
extend | Number 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. | int | 0 |
print_iteration | Print the iteration number to standard out | bool | no |
Module Connections
Outputs
Name | Description |
---|---|
* | 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