Kaspersky Neuromorphic Platform
1.0.0
API Reference
|
Core library namespace. More...
Namespaces | |
namespace | messaging |
Messaging namespace. | |
namespace | tags |
Namespace for known tags. | |
Core library namespace.
using knp::core::AllPopulations = boost::mp11::mp_transform<knp::core::Population, knp::neuron_traits::AllNeurons> |
List of population types based on neuron types specified in knp::neuron_traits::AllNeurons
.
AllPopulations
takes the value of Population<NeuronType_1>, Population<NeuronType_2>, ..., Population<NeuronType_n>
, where NeuronType_[1..n]
is the neuron type specified in knp::neuron_traits::AllNeurons
.
For example, if knp::neuron_traits::AllNeurons
contains BLIFATNeuron and IzhikevichNeuron types, then AllPopulations
= Population<BLIFATNeuron>, Population<IzhikevichNeuron>
.
Definition at line 248 of file population.h.
using knp::core::AllPopulationsVariant = boost::mp11::mp_rename<AllPopulations, std::variant> |
Population variant that contains any population type specified in AllPopulations
.
AllPopulationVariants
takes the value of std::variant<PopulationType_1,..., PopulationType_n>
, where PopulationType_[1..n]
is the population type specified in AllPopulations
.
For example, if AllPopulations
contains BLIFATNeuron and IzhikevichNeuron types, then AllPopulationVariants = std::variant<BLIFATNeuron, IzhikevichNeuron>
.
AllPopulationVariants
retains the same order of message types as defined in AllPopulations
.
Definition at line 259 of file population.h.
using knp::core::AllProjections = boost::mp11::mp_transform<knp::core::Projection, knp::synapse_traits::AllSynapses> |
List of projection types based on synapse types specified in knp::synapse_traits::AllSynapses
.
AllProjections
takes the value of Projection<SynapseType_1>, Projection<SynapseType_2>, ..., Projection<SynapseType_n>
, where SynapseType_[1..n]
is the synapse type specified in knp::synapse_traits::AllSynapses
.
For example, if knp::synapse_traits::AllSynapses
contains DeltaSynapse and AdditiveSTDPSynapse types, then AllProjections
= Population<DeltaSynapse>, Population<AdditiveSTDPSynapse>
.
Definition at line 427 of file projection.h.
using knp::core::AllProjectionsVariant = boost::mp11::mp_rename<AllProjections, std::variant> |
Projection variant that contains any projection type specified in AllProjections
.
AllProjectionVariants
takes the value of std::variant<ProjectionType_1,..., ProjectionType_n>
, where ProjectionType_[1..n]
is the projection type specified in AllProjections
.
For example, if AllProjections
contains DeltaSynapse and AdditiveSTDPSynapse types, then AllProjectionVariants = std::variant<DeltaSynapse, AdditiveSTDPSynapse>
.
AllProjectionVariants
retains the same order of message types as defined in AllProjections
.
Definition at line 438 of file projection.h.
using knp::core::Step = uint64_t |
|
strong |
Enumeration used to access connection.
Enumerator | |
---|---|
synapse_data | Getting synapse parameters. |
source_neuron_id | Getting source neuron index. |
target_neuron_id | Getting target neuron index. |
Definition at line 49 of file projection.h.
inline ::std::ostream & knp::core::operator<< | ( | std::ostream & | s, |
const UID & | uid ) |