This class implements readouts within the simulation. Readouts take the responses of the liquid and calculate a new function with these inputs. Readouts can be trained to approximate some target function. Readouts can be connected to physical models or feedback neurons for closed-loop simulations. Therefore the interface of readouts is similar to that of synapses. The output of a readout can be recorded.
Appends a new preprocessor at the end of the preprocessor list. The input will be processed by all preprocessors, in the sequence in which they are stored in the preprocessor list.
Parameters:
pp
The new preprocessor.
Returns:
-1 if an error occured, 1 for success.
double * Readout::exportAlgorithm
(
int *
rep_length
)
Exports a parameterized version of the current learning algorithm.
Parameters:
rep_length
Length of the representation vector.
Returns:
A representation of the learning algorithm parameters.
double * Readout::exportPreprocessor
(
int
ind,
int *
rep_length
)
Exports a parameterized version of one preprocessor.
Parameters:
ind
Index of the preprocessor in the preprocessor list.
rep_length
Length of the representation vector.
Returns:
A representation of the preprocessor parameters.
string Readout::getAlgorithmFormatDescription
(
)
Returns a string description of the input/output format of the current learning algorithm.
Returns:
A string describing the input/output format of the current learning algorithm.
int Readout::getNumberPreprocessors
(
)
Returns the length of the preprocessor list.
Returns:
The length of the preprocessor list.
string Readout::getPreprocessorFormatDescription
(
int
ind
)
Returns a string description of the input/output format of one preprocessor.
Parameters:
ind
Index of the preprocessor in the preprocessor list.
Returns:
A string describing the input/output format of the preprocessor.
Inserts a new preprocessor at the specified position within the preprocessor list. The input will be processed by all preprocessors, in the sequence in which they are stored in the preprocessor list.
Parameters:
pp
The new preprocessor.
position
The position at which the new preprocessor should be inserted.
Adds a new preprocessor at the beginning of the preprocessor list. The input will be processed by all preprocessors, in the sequence in which they are stored in the preprocessor list.
Parameters:
pp
The new preprocessor.
Returns:
-1 if an error occured, 1 for success.
void Readout::reset
(
)
[virtual]
Resets the state of the readout and all filters, preprocessors and algorithms.