#include <ConnectionType.h>
Static Public Member Functions | |
| static unsigned short * | getAllTypes () |
| static char * | getDescription (unsigned short) |
| static unsigned short * | getInterLayerTypes () |
| static unsigned short * | getIntraLayerTypes () |
| static void | getParameters (map< string, string > &, unsigned short) |
| static unsigned short | getType (string) |
| static void | printParameters () |
Static Public Attributes | |
| static const int | NumberTypes = NUM_CONNECTION_TYPES |
| static const int | NumberIntraTypes = NUMBER_INTRA_TYPES |
| static const int | NumberInterTypes = NUMBER_INTER_TYPES |
| static const unsigned short | SimpleCortex = SIMPLE_CORTEX_VALUE |
| static const unsigned short | UnstructuredExInhibIntra = UNSTRUCTURED_EX_INHIB_INTRA_VALUE |
| static const unsigned short | OnCentreOffSurround = ON_CENTRE_OFF_SURROUND_VALUE |
| static const unsigned short | OffCentreOnSurround = OFF_CENTRE_ON_SURROUND_VALUE |
| static const unsigned short | Unstructured = UNSTRUCTURED_VALUE |
| static const unsigned short | UnstructuredExInhibInter = UNSTRUCTURED_EX_INHIB_INTER_VALUE |
| static const unsigned short | Topographic = TOPOGRAPHIC_VALUE |
| static const unsigned short | SIMNOSComponent = SIMNOS_COMPONENT_VALUE |
| static const unsigned short | Virtual = VIRTUAL_VALUE |
| static const unsigned short | TempVirtual = TEMP_VIRTUAL_VALUE |
Two types of connection types are defined within this file:
>> Intra layer connection types apply to neurons that are connecting to other neurons in the same layer. >> Inter layer connection types apply to neurons that are connecting to other neurons in different layers.
The specification of the type includes an identifier, description and list of parameters with their default values. The methods implmenting these connections can be found in "ConnectionManager.cpp" There are also dependent methods in "ConnectionPropertiesDialog.cpp" which use the type to check the size of the layers to see if they match before creating the connection. Any changes to this file should be reflected there as well.
The parameters should all be doubles between -100000 and 100000. This makes error checkeing easier, but can be changed if necessary. FIXME SHOULD REALLY ADD A THIRD TYPE CALLED 'OTHER' THAT CAN BE APPLIED WITHIN AND BETWEEN LAYERS OR BOTH.
Definition at line 247 of file ConnectionType.h.
|
|
Returns an array containing all of the type values. NOTE Potential memory leaks here since a reference is being returned to a dynamically allocated array. Definition at line 38 of file ConnectionType.cpp. References NumberTypes, OffCentreOnSurround, OnCentreOffSurround, SIMNOSComponent, SimpleCortex, TempVirtual, Topographic, Unstructured, UnstructuredExInhibInter, UnstructuredExInhibIntra, and Virtual. |
|
|
Returns a cstring description of the type. Definition at line 55 of file ConnectionType.cpp. References OFF_CENTRE_ON_SURROUND_DESC, OffCentreOnSurround, ON_CENTRE_OFF_SURROUND_DESC, OnCentreOffSurround, SIMNOS_COMPONENT_DESC, SIMNOSComponent, SIMPLE_CORTEX_DESC, SimpleCortex, TEMP_VIRTUAL_DESC, TempVirtual, Topographic, TOPOGRAPHIC_DESC, Unstructured, UNSTRUCTURED_DESC, UNSTRUCTURED_EX_INHIB_INTER_DESC, UNSTRUCTURED_EX_INHIB_INTRA_DESC, UnstructuredExInhibInter, UnstructuredExInhibIntra, Virtual, and VIRTUAL_DESC. |
|
|
Returns all of the inter layer type values. NOTE the calling method should delete the dynamically allocated array that is returned here to avoid a memory leak. Definition at line 75 of file ConnectionType.cpp. References NumberInterTypes, OffCentreOnSurround, OnCentreOffSurround, SIMNOSComponent, TempVirtual, Topographic, Unstructured, UnstructuredExInhibInter, and Virtual. |
|
|
Returns all the intra layer type values. NOTE Potential memory leaks here since a reference is being returned to a dynamically allocated array. Definition at line 92 of file ConnectionType.cpp. References NumberIntraTypes, SimpleCortex, and UnstructuredExInhibIntra. |
|
||||||||||||
|
Returns the parameters associated with a particular connection type. Definition at line 101 of file ConnectionType.cpp. References NUM_OFF_CENTRE_ON_SURROUND_PARAM, NUM_ON_CENTRE_OFF_SURROUND_PARAM, NUM_SIMNOS_COMPONENT_PARAM, NUM_SIMPLE_CORTEX_PARAM, NUM_TOPOGRAPHIC_PARAM, NUM_UNSTRUCTURED_EX_INHIB_INTER_PARAM, NUM_UNSTRUCTURED_EX_INHIB_INTRA_PARAM, NUM_UNSTRUCTURED_PARAM, OFF_CENTRE_ON_SURROUND_PARAM, OffCentreOnSurround, ON_CENTRE_OFF_SURROUND_PARAM, OnCentreOffSurround, SIMNOS_COMPONENT_PARAM, SIMNOSComponent, SIMPLE_CORTEX_PARAM, SimpleCortex, TempVirtual, Topographic, TOPOGRAPHIC_PARAM, Unstructured, UNSTRUCTURED_EX_INHIB_INTER_PARAM, UNSTRUCTURED_EX_INHIB_INTRA_PARAM, UNSTRUCTURED_PARAM, UnstructuredExInhibInter, UnstructuredExInhibIntra, and Virtual. |
|
|
Returns the type value when given the type description. Definition at line 163 of file ConnectionType.cpp. References OFF_CENTRE_ON_SURROUND_DESC, OffCentreOnSurround, ON_CENTRE_OFF_SURROUND_DESC, OnCentreOffSurround, SIMNOS_COMPONENT_DESC, SIMNOSComponent, SIMPLE_CORTEX_DESC, SimpleCortex, TEMP_VIRTUAL_DESC, TempVirtual, Topographic, TOPOGRAPHIC_DESC, UNDEFINED_TYPE, Unstructured, UNSTRUCTURED_DESC, UNSTRUCTURED_EX_INHIB_INTER_DESC, UNSTRUCTURED_EX_INHIB_INTRA_DESC, UnstructuredExInhibInter, UnstructuredExInhibIntra, Virtual, and VIRTUAL_DESC. |
|
|
|
Number of types of connection betwen two layers. Definition at line 261 of file ConnectionType.h. Referenced by getInterLayerTypes(). |
|
|
Number of types of connection within a single layer. Definition at line 258 of file ConnectionType.h. Referenced by getIntraLayerTypes(). |
|
|
Number of types of connection. Definition at line 255 of file ConnectionType.h. Referenced by getAllTypes(). |
|
|
Off centre on surround connection. Definition at line 277 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
On centre off surround connection. Definition at line 273 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
SIMNOS component connection. Definition at line 289 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
Simple cortex connection. Definition at line 266 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getIntraLayerTypes(), getParameters(), and getType(). |
|
|
Temporary virtual connection. Definition at line 295 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
Topographic connection. Definition at line 286 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
Unstructured connection. Definition at line 280 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
Unstructured excitatory/ inhibitory connection. Definition at line 283 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
|
|
Unstructured excitatory/ inhibitory connection. Definition at line 269 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getIntraLayerTypes(), getParameters(), and getType(). |
|
|
Virtual connection. Definition at line 292 of file ConnectionType.h. Referenced by getAllTypes(), getDescription(), getInterLayerTypes(), getParameters(), and getType(). |
1.4.4