GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
synapseMatrixType.h File Reference

Go to the source code of this file.

Enumerations

enum  SynapseMatrixConnectivity : unsigned int {
  SynapseMatrixConnectivity::SPARSE = (1 << 0), SynapseMatrixConnectivity::DENSE = (1 << 1), SynapseMatrixConnectivity::BITMASK = (1 << 2), SynapseMatrixConnectivity::RAGGED = (1 << 3),
  SynapseMatrixConnectivity::YALE = (1 << 4)
}
 < Flags defining differnet types of synaptic matrix connectivity More...
 
enum  SynapseMatrixWeight : unsigned int { SynapseMatrixWeight::GLOBAL = (1 << 5), SynapseMatrixWeight::INDIVIDUAL = (1 << 6), SynapseMatrixWeight::INDIVIDUAL_PSM = (1 << 7) }
 
enum  SynapseMatrixType : unsigned int {
  SynapseMatrixType::SPARSE_GLOBALG = static_cast<unsigned int>(SynapseMatrixConnectivity::SPARSE) | static_cast<unsigned int>(SynapseMatrixConnectivity::YALE) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL), SynapseMatrixType::SPARSE_GLOBALG_INDIVIDUAL_PSM = static_cast<unsigned int>(SynapseMatrixConnectivity::SPARSE) | static_cast<unsigned int>(SynapseMatrixConnectivity::YALE) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM), SynapseMatrixType::SPARSE_INDIVIDUALG = static_cast<unsigned int>(SynapseMatrixConnectivity::SPARSE) | static_cast<unsigned int>(SynapseMatrixConnectivity::YALE) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM), SynapseMatrixType::DENSE_GLOBALG = static_cast<unsigned int>(SynapseMatrixConnectivity::DENSE) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL),
  SynapseMatrixType::DENSE_GLOBALG_INDIVIDUAL_PSM = static_cast<unsigned int>(SynapseMatrixConnectivity::DENSE) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM), SynapseMatrixType::DENSE_INDIVIDUALG = static_cast<unsigned int>(SynapseMatrixConnectivity::DENSE) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM), SynapseMatrixType::BITMASK_GLOBALG = static_cast<unsigned int>(SynapseMatrixConnectivity::BITMASK) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL), SynapseMatrixType::BITMASK_GLOBALG_INDIVIDUAL_PSM = static_cast<unsigned int>(SynapseMatrixConnectivity::BITMASK) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM),
  SynapseMatrixType::RAGGED_GLOBALG = static_cast<unsigned int>(SynapseMatrixConnectivity::SPARSE) | static_cast<unsigned int>(SynapseMatrixConnectivity::RAGGED) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL), SynapseMatrixType::RAGGED_GLOBALG_INDIVIDUAL_PSM = static_cast<unsigned int>(SynapseMatrixConnectivity::SPARSE) | static_cast<unsigned int>(SynapseMatrixConnectivity::RAGGED) | static_cast<unsigned int>(SynapseMatrixWeight::GLOBAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM), SynapseMatrixType::RAGGED_INDIVIDUALG = static_cast<unsigned int>(SynapseMatrixConnectivity::SPARSE) | static_cast<unsigned int>(SynapseMatrixConnectivity::RAGGED) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL) | static_cast<unsigned int>(SynapseMatrixWeight::INDIVIDUAL_PSM)
}
 

Functions

bool operator& (SynapseMatrixType type, SynapseMatrixConnectivity connType)
 
bool operator& (SynapseMatrixType type, SynapseMatrixWeight weightType)
 

Enumeration Type Documentation

◆ SynapseMatrixConnectivity

enum SynapseMatrixConnectivity : unsigned int
strong

< Flags defining differnet types of synaptic matrix connectivity

Enumerator
SPARSE 
DENSE 
BITMASK 
RAGGED 
YALE 

◆ SynapseMatrixType

enum SynapseMatrixType : unsigned int
strong
Enumerator
SPARSE_GLOBALG 
SPARSE_GLOBALG_INDIVIDUAL_PSM 
SPARSE_INDIVIDUALG 
DENSE_GLOBALG 
DENSE_GLOBALG_INDIVIDUAL_PSM 
DENSE_INDIVIDUALG 
BITMASK_GLOBALG 
BITMASK_GLOBALG_INDIVIDUAL_PSM 
RAGGED_GLOBALG 
RAGGED_GLOBALG_INDIVIDUAL_PSM 
RAGGED_INDIVIDUALG 

◆ SynapseMatrixWeight

enum SynapseMatrixWeight : unsigned int
strong
Enumerator
GLOBAL 
INDIVIDUAL 
INDIVIDUAL_PSM 

Function Documentation

◆ operator&() [1/2]

bool operator & ( SynapseMatrixType  type,
SynapseMatrixConnectivity  connType 
)
inline

◆ operator&() [2/2]

bool operator & ( SynapseMatrixType  type,
SynapseMatrixWeight  weightType 
)
inline