Cypress
1.0
C++ Spiking Neural Network Simulation Framework
Main Page
Namespaces
Classes
Files
File List
File Members
cypress
backend
nest
sli.hpp
Go to the documentation of this file.
1
/*
2
* Cypress -- C++ Spiking Neural Network Simulation Framework
3
* Copyright (C) 2016 Andreas Stöckel
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
28
#ifndef CYPRESS_BACKEND_SLI_HPP
29
#define CYPRESS_BACKEND_SLI_HPP
30
31
#include <iosfwd>
32
33
#include <
cypress/core/network_base.hpp
>
34
35
namespace
cypress
{
36
namespace
sli {
40
struct
Params
{
41
Real
timestep
= 0.1;
42
Real
record_interval
= 0.1;
43
int
threads
= 1;
44
};
45
54
void
write_network
(std::ostream &os,
const
NetworkBase
&net,
Real
duration,
55
const
Params
¶ms =
Params
());
56
65
void
read_response
(std::istream &is,
NetworkBase
&net);
66
}
67
}
68
69
#endif
/* CYPRESS_BACKEND_SLI_HPP */
cypress::sli::Params::timestep
Real timestep
Definition:
sli.hpp:41
cypress::Real
double Real
Definition:
types.hpp:56
cypress::sli::Params
Definition:
sli.hpp:40
cypress::sli::write_network
void write_network(std::ostream &os, const NetworkBase &net, Real duration, const Params ¶ms=Params())
cypress::NetworkBase
Definition:
network_base.hpp:116
cypress::sli::Params::threads
int threads
Definition:
sli.hpp:43
network_base.hpp
cypress
Definition:
brainscales_lib.hpp:39
cypress::sli::Params::record_interval
Real record_interval
Definition:
sli.hpp:42
cypress::sli::read_response
void read_response(std::istream &is, NetworkBase &net)
Generated by
1.8.11