21 #ifndef SNABSUITE_SNABS_REFRACTORY_PERIOD_HPP 22 #define SNABSUITE_SNABS_REFRACTORY_PERIOD_HPP 24 #include <cypress/cypress.hpp> 37 cypress::PopulationBase m_pop;
38 cypress::Real m_tolerance = 1.0;
39 cypress::Population<cypress::SpikeSourceArray> m_pop_source;
40 cypress::NeuronParameter m_neuro_params;
45 void run_netw(cypress::Network &netw)
override;
46 std::vector<std::array<cypress::Real, 4>>
evaluate()
override;
47 std::shared_ptr<SNABBase>
clone()
override
std::shared_ptr< SNABBase > clone() override
Virtual method cloning the SNAB without knowing which SNAB it is.
std::string m_backend
String which contains the name of the simulation backend.
void run_netw(cypress::Network &netw) override
std::vector< std::array< cypress::Real, 4 > > evaluate() override
This should contain the evaluation process and return the result in order of those in names()...
Virtual Base class for SNABs(Benchmarks). All SNABs should have seperate building of networks...
RefractoryPeriod(const std::string backend, size_t bench_index)
cypress::Network & build_netw(cypress::Network &netw) override
Building the neural network for benchmarking. If you want to use an external network, you should use the first version of building (and the corresponding run function), for the member network use the second function. The implementation is contained in the first one.
const size_t m_bench_index