Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
knp::framework::projection Namespace Reference

Projection namespace. More...

Namespaces

namespace  creators
 Namespace for framework projection creators.
 
namespace  parameters_generators
 Namespace for framework projection connectors.
 
namespace  synapse_generators
 Namespace for framework projection generators.
 

Detailed Description

Projection namespace.

Function Documentation

◆ connect_populations() [1/2]

template<typename SynapseType , typename SourceNeuronType , typename DestinationNeuronType >
core::Projection< SynapseType > knp::framework::projection::connect_populations ( const core::Population< SourceNeuronType > & src,
const core::Population< DestinationNeuronType > & dst,
typename knp::core::Projection< SynapseType >::SynapseGenerator syn_gen,
size_t num_iterations )
nodiscard

Connect presynaptic and postsynaptic populations.

The function makes a projection with arbitrary connections between population neurons.

Template Parameters
SourceNeuronTypetype of the presynaptic population neuron.
DestinationNeuronTypetype of the postsynaptic population neuron.
SynapseTypenew projection synapse type.
Parameters
srcpresynaptic population.
dstpostsynaptic population.
syn_gensynapse parameters generator.
num_iterationsnumber of iterations.
Returns
new projection between two populations.

Definition at line 72 of file connectors.h.

+ Here is the call graph for this function:

◆ connect_populations() [2/2]

template<typename SynapseType , typename SourceNeuronType , typename DestinationNeuronType >
core::Projection< SynapseType > knp::framework::projection::connect_populations ( const core::Population< SourceNeuronType > & src,
const core::Population< DestinationNeuronType > & dst,
typename parameters_generators::SynGen2ParamsType< SynapseType > syn_gen = parameters_generators::default_synapse_gen<SynapseType> )
nodiscard

Connect presynaptic and postsynaptic populations.

The function makes connections between each presynaptic population (source) neuron to each postsynaptic population (destination) neuron.

Template Parameters
SourceNeuronTypetype of the presynaptic population neuron.
DestinationNeuronTypetype of the postsynaptic population neuron.
SynapseTypenew projection synapse type.
Parameters
srcpresynaptic population.
dstpostsynaptic population.
syn_gensynapse parameters generator.
Returns
new projection between two populations.

Definition at line 50 of file connectors.h.

+ Here is the call graph for this function: