Cypress
1.0
C++ Spiking Neural Network Simulation Framework
|
#include <network_mixins.hpp>
Classes | |
class | iterator_ |
Public Types | |
using | iterator = iterator_< 1, false > |
using | const_iterator = iterator_< 1, true > |
using | reverse_iterator = iterator_<-1, false > |
using | const_reverse_iterator = iterator_<-1, true > |
Public Member Functions | |
Value | operator[] (NeuronIndex i) |
const Value | operator[] (NeuronIndex i) const |
Value | operator() (NeuronIndex i) |
const Value | operator() (NeuronIndex i) const |
size_t | size () |
iterator | begin () |
iterator | end () |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_iterator | begin () const |
const_iterator | end () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
Mixin used by the PopulationBase, PopulationViewBase, NeuronBase, Population, PopulationView and Neuron class to allow to provide exactly the same interface for iterating.
using cypress::IterableMixin< Impl, Value, Accessor >::const_iterator = iterator_<1, true> |
using cypress::IterableMixin< Impl, Value, Accessor >::const_reverse_iterator = iterator_<-1, true> |
using cypress::IterableMixin< Impl, Value, Accessor >::iterator = iterator_<1, false> |
using cypress::IterableMixin< Impl, Value, Accessor >::reverse_iterator = iterator_<-1, false> |
|
inline |
Returns an iterator at the first neuron in the population. For neurons, returns an iterator pointing at the neuron itself.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns an iterator at the last-plus-one neuron in the population.
|
inline |
|
inline |
Returns a reference at the i-th neuron in the Population or PopulationView. For neurons, only the index zero is allowed, providing access at the neuron itself.
|
inline |
Returns a const-reference at the i-th neuron. For neurons, only the index zero is allowed, providing access at the neuron itself.
|
inline |
Returns a reference at the i-th neuron in the Population or PopulationView. For neurons, only the index zero is allowed, providing access at the neuron itself.
|
inline |
Returns a const-reference at the i-th neuron. For neurons, only the index zero is allowed, providing access at the neuron itself.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the size of the population or population view. For single neurons the size is always one.