SpikeStream Library  0.2
GlobalVariables.h
Go to the documentation of this file.
00001 
00002 //--------------------------  Global Variables  ----------------------------
00003 /* Definitions of variables that apply across the whole application. */
00004 //--------------------------------------------------------------------------
00005 
00006 #ifndef GLOBALVARIABLES_H
00007 #define GLOBALVARIABLES_H
00008 
00009 //Other includes
00010 #include <cstring>
00011 
00012 
00014 #define MAX_DATABASE_NAME_LENGTH 250
00015 
00016 
00018 #define MAX_DATABASE_DESCRIPTION_LENGTH 250
00019 
00020 
00022 #define NEURON_APPLICATION_FILE_EXTENSION ".sql.tar.gz"
00023 
00024 //Starting and invalid database IDs
00026 #define START_NEURALNETWORK_ID 1
00027 
00029 #define INVALID_NETWORK_ID 0
00030 
00032 #define START_NEURONGROUP_ID 1
00033 
00035 #define START_NEURON_ID 1
00036 
00039 #define LAST_NEURON_ID 0x7ffffffe
00040 
00042 #define START_CONNECTION_ID 1
00043 
00046 #define LAST_CONNECTION_ID 0x6ffffffe
00047 
00049 #define START_CONNECTIONGROUP_ID 1
00050 
00052 #define START_ARCHIVE_ID 1
00053 
00055 #define START_ANALYSIS_ID 1
00056 
00058 #define START_WEIGHTLESS_TRAINING_PATTERN_ID 1
00059 
00060 
00061 //Connection mode flags
00063 #define CONNECTION_MODE_ENABLED 1
00064 
00066 #define SHOW_BETWEEN_CONNECTIONS 4
00067 
00069 #define SHOW_POSITIVE_CONNECTIONS 8
00070 
00072 #define SHOW_NEGATIVE_CONNECTIONS 16
00073 
00075 #define SHOW_FROM_CONNECTIONS 32
00076 
00078 #define SHOW_TO_CONNECTIONS 64
00079 
00080 
00081 //Weight render flags
00083 #define WEIGHT_RENDER_ENABLED 1
00084 
00086 #define RENDER_TEMP_WEIGHTS 2
00087 
00089 #define RENDER_CURRENT_WEIGHTS 4
00090 
00091 
00092 //Heat colour map colours
00094 #define HEAT_COLOR_0 0, 0.5, 0
00095 
00097 #define HEAT_COLOR_1 0, 0, 1.0
00098 
00100 #define HEAT_COLOR_2 0.125, 0, 0.875
00101 
00103 #define HEAT_COLOR_3 0.25, 0, 0.75
00104 
00106 #define HEAT_COLOR_4 0.375, 0, 0.625
00107 
00109 #define HEAT_COLOR_5 0.625, 0, 0.375
00110 
00112 #define HEAT_COLOR_6 0.75, 0, 0.25
00113 
00115 #define HEAT_COLOR_7 0.875, 0, 0.125
00116 
00118 #define HEAT_COLOR_8 1.0, 0, 0
00119 
00121 #define HEAT_COLOR_9 1.0, 0.5, 0
00122 
00124 #define HEAT_COLOR_10 1.0, 1.0, 0
00125 
00126 
00129 #define DEFAULT_MAX_HEAT_COLOR_VALUE 10.0
00130 
00131 
00133 #define STATE_BASED_PHI_ANALYSIS "statebasedphianalysis"
00134 
00135 
00137 #define LIVELINESS_ANALYSIS "livelinessanalysis"
00138 
00139 
00140 #endif //GLOBALVARIABLES_H
00141 
 All Classes Files Functions Variables Typedefs Defines