Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Classes | Functions
cypress::sli Namespace Reference

Classes

struct  Params
 

Functions

void write_network (std::ostream &os, const NetworkBase &net, Real duration, const Params &params=Params())
 
void read_response (std::istream &is, NetworkBase &net)
 

Class Documentation

struct cypress::sli::Params

Parameters influencing the simulation.

Class Members
Real record_interval
int threads
Real timestep

Function Documentation

void cypress::sli::read_response ( std::istream &  is,
NetworkBase net 
)

Reads the response of the previously written SLI program.

Parameters
isis the input stream from which the response should be read. Note that the response must be produced by an SLI program previously produced by write_network().
netis the network into which the response should be written.
void cypress::sli::write_network ( std::ostream &  os,
const NetworkBase net,
Real  duration,
const Params params = Params() 
)

Turns the given network into an SLI program and writes it into the given output stream.

Parameters
osis the output stream to which the SLI script should be written.
netis the network that should be turned into an SLI script.
durationis the network simulation time in seconds.