File tree Expand file tree Collapse file tree
knp/backends/cpu/cpu-single-threaded-backend/include/knp/backends/cpu-single-threaded Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments