Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Classes | Public Member Functions | List of all members
cypress::GeNN Class Reference

#include <genn.hpp>

Inheritance diagram for cypress::GeNN:
Inheritance graph
[legend]
Collaboration diagram for cypress::GeNN:
Collaboration graph
[legend]

Classes

class  GeNNSimulatorNotFound
 

Public Member Functions

 GeNN (const Json &setup=Json())
 
 ~GeNN () override=default
 
std::unordered_set< const NeuronType * > supported_neuron_types () const override
 
std::string name () const override
 
void run (NetworkBase &network, Real duration=0.0) const
 

Constructor & Destructor Documentation

cypress::GeNN::GeNN ( const Json setup = Json())

Constructor of the GeNN backend class, takes a setup JSON object.

Parameters
setupis a JSON object which supports the following settings:

{ "timestep" : 0.1, "gpu" : false, "double" : false, "timing" : false, "keep_compile": false, "recording_buffer_size" : 10000 }

cypress::GeNN::~GeNN ( )
overridedefault

Destructor of the GeNN backend class.

Member Function Documentation

std::string cypress::GeNN::name ( ) const
inlineoverridevirtual

Returns the canonical name of the backend.

Implements cypress::Backend.

void cypress::Backend::run ( NetworkBase network,
Real  duration = 0.0 
) const
inherited

Simulates the given spiking neural network for the given duration.

Parameters
networkis the network that should be simulated. The simulation result will be written to the network instance.
durationis the duration for which the network should be simulated.
std::unordered_set<const NeuronType *> cypress::GeNN::supported_neuron_types ( ) const
overridevirtual

Returns the neuron types supported by the NEST backend.

Implements cypress::Backend.


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