SpikeStream Library  0.2
GlobalVariables.h File Reference
#include <cstring>

Go to the source code of this file.

Defines

#define MAX_DATABASE_NAME_LENGTH   250
#define MAX_DATABASE_DESCRIPTION_LENGTH   250
#define NEURON_APPLICATION_FILE_EXTENSION   ".sql.tar.gz"
#define START_NEURALNETWORK_ID   1
#define INVALID_NETWORK_ID   0
#define START_NEURONGROUP_ID   1
#define START_NEURON_ID   1
#define LAST_NEURON_ID   0x7ffffffe
#define START_CONNECTION_ID   1
#define LAST_CONNECTION_ID   0x6ffffffe
#define START_CONNECTIONGROUP_ID   1
#define START_ARCHIVE_ID   1
#define START_ANALYSIS_ID   1
#define START_WEIGHTLESS_TRAINING_PATTERN_ID   1
#define CONNECTION_MODE_ENABLED   1
#define SHOW_BETWEEN_CONNECTIONS   4
#define SHOW_POSITIVE_CONNECTIONS   8
#define SHOW_NEGATIVE_CONNECTIONS   16
#define SHOW_FROM_CONNECTIONS   32
#define SHOW_TO_CONNECTIONS   64
#define WEIGHT_RENDER_ENABLED   1
#define RENDER_TEMP_WEIGHTS   2
#define RENDER_CURRENT_WEIGHTS   4
#define HEAT_COLOR_0   0, 0.5, 0
#define HEAT_COLOR_1   0, 0, 1.0
#define HEAT_COLOR_2   0.125, 0, 0.875
#define HEAT_COLOR_3   0.25, 0, 0.75
#define HEAT_COLOR_4   0.375, 0, 0.625
#define HEAT_COLOR_5   0.625, 0, 0.375
#define HEAT_COLOR_6   0.75, 0, 0.25
#define HEAT_COLOR_7   0.875, 0, 0.125
#define HEAT_COLOR_8   1.0, 0, 0
#define HEAT_COLOR_9   1.0, 0.5, 0
#define HEAT_COLOR_10   1.0, 1.0, 0
#define DEFAULT_MAX_HEAT_COLOR_VALUE   10.0
#define STATE_BASED_PHI_ANALYSIS   "statebasedphianalysis"
#define LIVELINESS_ANALYSIS   "livelinessanalysis"

Define Documentation

#define CONNECTION_MODE_ENABLED   1

Show connections to/from a single neuron

Definition at line 63 of file GlobalVariables.h.

#define DEFAULT_MAX_HEAT_COLOR_VALUE   10.0

Default value associated with heat colour 10. Heat colour 0 is always associated with 0.

Definition at line 129 of file GlobalVariables.h.

#define HEAT_COLOR_0   0, 0.5, 0

Heat map colour 0

Definition at line 94 of file GlobalVariables.h.

#define HEAT_COLOR_1   0, 0, 1.0

Heat map colour 1

Definition at line 97 of file GlobalVariables.h.

#define HEAT_COLOR_10   1.0, 1.0, 0

Heat map colour 10

Definition at line 124 of file GlobalVariables.h.

#define HEAT_COLOR_2   0.125, 0, 0.875

Heat map colour 2

Definition at line 100 of file GlobalVariables.h.

#define HEAT_COLOR_3   0.25, 0, 0.75

Heat map colour 3

Definition at line 103 of file GlobalVariables.h.

#define HEAT_COLOR_4   0.375, 0, 0.625

Heat map colour 4

Definition at line 106 of file GlobalVariables.h.

#define HEAT_COLOR_5   0.625, 0, 0.375

Heat map colour 5

Definition at line 109 of file GlobalVariables.h.

#define HEAT_COLOR_6   0.75, 0, 0.25

Heat map colour 6

Definition at line 112 of file GlobalVariables.h.

#define HEAT_COLOR_7   0.875, 0, 0.125

Heat map colour 7

Definition at line 115 of file GlobalVariables.h.

#define HEAT_COLOR_8   1.0, 0, 0

Heat map colour 8

Definition at line 118 of file GlobalVariables.h.

#define HEAT_COLOR_9   1.0, 0.5, 0

Heat map colour 9

Definition at line 121 of file GlobalVariables.h.

#define INVALID_NETWORK_ID   0

A neural network ID that is not valid

Definition at line 29 of file GlobalVariables.h.

#define LAST_CONNECTION_ID   0x6ffffffe

Last valid automatically generated connection ID in NeuralNetwork database. connection IDs greater than this will be declared invalid

Definition at line 46 of file GlobalVariables.h.

#define LAST_NEURON_ID   0x7ffffffe

Last valid automatically generated neuron ID in NeuralNetwork database. Neuron IDs greater than this will be declared invalid

Definition at line 39 of file GlobalVariables.h.

#define LIVELINESS_ANALYSIS   "livelinessanalysis"

A liveliness analysis

Definition at line 137 of file GlobalVariables.h.

The maximum length of a description in the database.

Definition at line 18 of file GlobalVariables.h.

#define MAX_DATABASE_NAME_LENGTH   250

The maximum length of a name in the database.

Definition at line 14 of file GlobalVariables.h.

#define NEURON_APPLICATION_FILE_EXTENSION   ".sql.tar.gz"

File extension for saving archive file of databases.

Definition at line 22 of file GlobalVariables.h.

#define RENDER_CURRENT_WEIGHTS   4

Render current weights

Definition at line 89 of file GlobalVariables.h.

#define RENDER_TEMP_WEIGHTS   2

Render temp weights

Definition at line 86 of file GlobalVariables.h.

#define SHOW_BETWEEN_CONNECTIONS   4

Show connections between two neurons

Definition at line 66 of file GlobalVariables.h.

#define SHOW_FROM_CONNECTIONS   32

Show all connections from a single neuron

Definition at line 75 of file GlobalVariables.h.

#define SHOW_NEGATIVE_CONNECTIONS   16

Show negative connections

Definition at line 72 of file GlobalVariables.h.

#define SHOW_POSITIVE_CONNECTIONS   8

Show positive connections

Definition at line 69 of file GlobalVariables.h.

#define SHOW_TO_CONNECTIONS   64

Show all connections to a single neuron

Definition at line 78 of file GlobalVariables.h.

#define START_ANALYSIS_ID   1

First valid automatically generated ID in Archives database

Definition at line 55 of file GlobalVariables.h.

#define START_ARCHIVE_ID   1

First valid automatically generated ID in Archives database

Definition at line 52 of file GlobalVariables.h.

#define START_CONNECTION_ID   1

First valid automatically generated ID in NeuralNetwork database

Definition at line 42 of file GlobalVariables.h.

#define START_CONNECTIONGROUP_ID   1

First valid automatically generated ID in NeuralNetwork database

Definition at line 49 of file GlobalVariables.h.

#define START_NEURALNETWORK_ID   1

First valid automatically generated network ID in NeuralNetwork database

Definition at line 26 of file GlobalVariables.h.

#define START_NEURON_ID   1

First valid automatically generated neuron ID in NeuralNetwork database

Definition at line 35 of file GlobalVariables.h.

#define START_NEURONGROUP_ID   1

First valid automatically generated neuron group ID in NeuralNetwork database

Definition at line 32 of file GlobalVariables.h.

First valid automatically generated ID for a weightless neuron pattern

Definition at line 58 of file GlobalVariables.h.

#define STATE_BASED_PHI_ANALYSIS   "statebasedphianalysis"

A state based phi analysis

Definition at line 133 of file GlobalVariables.h.

#define WEIGHT_RENDER_ENABLED   1

Render weights as polygons

Definition at line 83 of file GlobalVariables.h.

 All Classes Files Functions Variables Typedefs Defines