Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

globals.h

Go to the documentation of this file.
00001 
00006 #ifndef __GLOBALS_H__
00007 #define __GLOBALS_H__
00008 
00009 #include "lissom.h"
00010 #include "cmdparam.h"
00011 
00012 
00013 /* The weights of a single neuron. */
00014 typedef struct
00015 {
00016   a_weight weights[MAX_NUM_EYES][WTMAX][WTMAX] ;
00017   l_weight lat_exc_wts[MAX_EXC_DIMENSION];
00018   l_weight lat_inh_wts[MAX_INH_DIMENSION];
00019 } Wts;
00020 
00021 
00022 /* Public parameters */
00023 extern int    circular_aff_wts;
00024 extern int    circular_lat_wts;
00025 extern double circular_radius_trim;
00026 extern double gammaexc;
00027 extern double gammainh;
00028 extern int    exc_rad;
00029 extern int    inh_rad;
00030 extern int    iteration;
00031 extern int    interactive;
00032 extern int    learning;
00033 extern int    N;
00034 extern int    normalize_aff;
00035 #ifndef NUM_EYES_IS_CONSTANT
00036 extern int    num_eyes;
00037 #else
00038 #define       num_eyes MAX_NUM_EYES
00039 #endif
00040 extern int    or_num_angles;
00041 extern int    presentation;
00042 extern int    preset_lat_wts;
00043 extern int    progress_reports;
00044 extern int    progress_report_interval;
00045 extern int    retina_edge_buffer;
00046 extern int    rf_radius;
00047 extern int    RN;
00048 extern int    running_remotely;
00049 extern int    spawn_viewer;
00050 extern int    startt;
00051 extern int    tsettle;            
00052 extern double uncorrelation;
00053 
00054 
00055 /* Global variables */
00056 extern HooklistNum after_learning;
00057 extern HooklistNum after_presentation;
00058 extern HooklistNum before_input;
00059 extern int    exc_array_width;
00060 extern int    exc_array_width_2;
00061 extern int    inh_array_width;
00062 extern double init_activity[NMAX][NMAX];
00063 extern int    input_dimension;       
00064 extern double input_vectors[RNMAX*RNMAX*MAX_NUM_EYES];
00065 extern int    lat_exc_dimension;
00066 extern int    lat_inh_dimension;
00067 extern Neuron cortex_map[NMAX][NMAX];
00068 extern int    MyPE;
00069 extern int    network_initialized;
00070 extern int    NPEs;
00071 extern int    nrows;
00072 extern double prev_map_activity[NMAX][NMAX]; 
00073 extern double rf_radius_sq;
00074 extern char   filebase[MAXFILENAMELENGTH];
00075 
00076 
00077 /* Public functions */
00078 void   advance_iteration_counter(int old_t, int new_t);
00079 SETFN_DECLARE(fixed_arch_param_setfn);
00080 SETFN_DECLARE(read_only_param_setfn);
00081 void   globals_init_hook( void );
00082   
00083 #endif

Generated at Mon Aug 21 00:30:54 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000