Skip to content

Commit 1c72310

Browse files
committed
Merge remote-tracking branch 'origin/lif_neuron' into lif_neuron
2 parents f870b6b + 817c37a commit 1c72310

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • knp/backends/cpu/cpu-single-threaded-backend/include/knp/backends/cpu-single-threaded

knp/backends/cpu/cpu-single-threaded-backend/include/knp/backends/cpu-single-threaded/backend.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,16 @@ class KNP_DECLSPEC SingleThreadedCPUBackend : public knp::core::Backend
409409
knp::core::Population<knp::neuron_traits::LIFNeuron> &population);
410410

411411

412+
/**
413+
* @brief Calculate population of LIF neurons.
414+
* @note Population state will be changed during calculation.
415+
* @param population population to calculate.
416+
* @return spike message with indexes of spiked neurons if population is emitting one.
417+
*/
418+
std::optional<core::messaging::SpikeMessage> calculate_population(
419+
knp::core::Population<knp::neuron_traits::LIFNeuron> &population);
420+
421+
412422
/**
413423
* @brief Calculate projection of delta synapses.
414424
* @note Projection will be changed during calculation.

0 commit comments

Comments
 (0)