CARLsim
6.1.0
CARLsim: a GPU-accelerated SNN simulator
|
#include <Experiment.h>
Public Member Functions | |
virtual void | run (const ParameterInstances ¶meters, std::ostream &outputStream) const =0 |
This class defines a high-level interface that can be used with an external tool to tune the parameters of an SNN. An Experiment defines a parameterized SNN model in such a way that many independent instances of the model can be executed (potentially in parallel) using different parameter configurations.
The intent is that this interface can be used in conjunction with an external optimization tool (such as the ECJ metaheuristics toolkit) to tune parameters of a simulation.
Definition at line 16 of file Experiment.h.
|
pure virtual |
Execute the model once for each parameter set in parameters
, and write data about the results to outputStream
, one result per line.
Use this function, for example, to implement a fitness function for turning the parameters of a model.