CARLsim  6.1.0
CARLsim: a GPU-accelerated SNN simulator
Experiment Class Referenceabstract

#include <Experiment.h>

Public Member Functions

virtual void run (const ParameterInstances &parameters, std::ostream &outputStream) const =0
 

Detailed Description

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.

Member Function Documentation

◆ run()

virtual void run ( const ParameterInstances parameters,
std::ostream &  outputStream 
) const
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.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: