Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
Classes | |
struct | Params |
Functions | |
void | write_network (std::ostream &os, const NetworkBase &net, Real duration, const Params ¶ms=Params()) |
void | read_response (std::istream &is, NetworkBase &net) |
struct cypress::sli::Params |
void cypress::sli::read_response | ( | std::istream & | is, |
NetworkBase & | net | ||
) |
Reads the response of the previously written SLI program.
is | is 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(). |
net | is 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.
os | is the output stream to which the SLI script should be written. |
net | is the network that should be turned into an SLI script. |
duration | is the network simulation time in seconds. |