#include <string.h>
#include <math.h>
#include "ipc.h"
#include "cmdparam.h"
#include "lissom.h"
#include "globals.h"
#include "kernel.h"
Include dependency graph for globals.c:

Go to the source code of this file.
Compounds | |
| struct | setfnobj_exc_rad_setfn |
Functions | |
| cmdstat | exc_rad_setfn ( const char* name, void* param, const void* newvalue ) |
| Automatically called by cmdparam.c to set this parameter. More... | |
| void | globals_init_hook ( void ) |
| void | advance_iteration_counter (int old_t, int new_t) |
| Advances iteration hooks up to (but not including) the given iteration value. More... | |
| cmdstat | fixed_arch_param_setfn ( const char* name, void* param, const void* newval) |
| Automatically called by cmdparam.c to set this parameter. More... | |
| cmdstat | read_only_param_setfn ( const char* name, void* param, const void* newval) |
Variables | |
| int | circular_aff_wts = True |
| int | circular_lat_wts = True |
| double | circular_radius_trim = 0.5 |
| double | uncorrelation = 0.0 |
| int | exc_rad = MAX_EXC_RADIUS |
| char | filebase [MAXFILENAMELENGTH] = "lissom" |
| double | gammaexc = 1.0 |
| double | gammainh = 1.0 |
| int | inh_rad = MAX_INH_RADIUS |
| int | interactive = False |
| int | iteration = 0 |
| int | learning = True |
| int | N = NMAX |
| int | normalize_aff = False |
| int | num_eyes = MAX_NUM_EYES |
| int | or_num_angles = MAX_NUM_ANGLES |
| int | presentation = 0 |
| int | preset_lat_wts = True |
| int | progress_reports = Uninitialized |
| int | progress_report_interval = 10 |
| int | retina_edge_buffer = 0 |
| int | rf_radius = MAX_RF_RADIUS |
| int | RN = RNMAX-MAX_RF_RADIUS*2 |
| int | startt = 0 |
| int | spawn_viewer = Uninitialized |
| int | running_remotely = False |
| int | tsettle = 10 |
| int | exc_array_width |
| Set to initial exc radius (doesn't change). More... | |
| int | exc_array_width_2 |
| Holds 2*exc_array_width (optimization). More... | |
| int | inh_array_width |
| Set from initial inh radius (doesn't change). More... | |
| double | init_activity [NMAX][NMAX] |
| Activity due to input only, before settling. More... | |
| int | input_dimension |
| The dimensionality of the input. More... | |
| double | input_vectors [RNMAX*RNMAX*MAX_NUM_EYES] |
| Array of input vectors. More... | |
| int | lat_exc_dimension |
| Lateral weight array size (excitatory). More... | |
| int | lat_inh_dimension |
| Lateral weight array size (inhibitory). More... | |
| Neuron | cortex_map [NMAX][NMAX] |
| Rectangular array of neurons. More... | |
| int | MyPE = 0 |
| Unique number for this processor. More... | |
| int | network_initialized = False |
| Whether init_network has been called yet. More... | |
| int | NPEs = 1 |
| Number of processors total. More... | |
| int | nrows |
| Number of current rows per processor. More... | |
| double | prev_map_activity [NMAX][NMAX] |
| map activity from the last complete iter. More... | |
| double | rf_radius_sq |
| Precomputed distance for active aff wts. More... | |
| HooklistNum | before_input |
| Hook set for hooklists_run_list(). More... | |
| HooklistNum | after_presentation |
| Hook set for hooklists_run_list(). More... | |
| HooklistNum | after_learning |
| Hook set for hooklists_run_list(). More... | |
This file contains variables and parameters that would ordinarily be defined in some other file, but which make sense without that file, e.g. when just displaying saved data rather than training a full network. Most belong in kernel.c, and should be moved there.
Definition in file globals.c.
|
|
Advances iteration hooks up to (but not including) the given iteration value.
|
|
|
Automatically called by cmdparam.c to set this parameter.
|
|
|
Automatically called by cmdparam.c to set this parameter. Refuses to set param once network has been initialized. |
|
|
|
|
|
|
|
|
Unique number for this processor.
|
|
|
|
|
|
Number of processors total.
|
|
|
|
|
|
Hook set for hooklists_run_list().
|
|
|
Hook set for hooklists_run_list().
|
|
|
Hook set for hooklists_run_list().
|
|
|
|
|
|
|
|
|
|
|
|
Rectangular array of neurons.
|
|
|
Set to initial exc radius (doesn't change).
|
|
|
Holds 2*exc_array_width (optimization).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set from initial inh radius (doesn't change).
|
|
|
|
|
|
Activity due to input only, before settling.
|
|
|
The dimensionality of the input.
|
|
|
Array of input vectors.
|
|
|
|
|
|
|
|
|
Lateral weight array size (excitatory).
|
|
|
Lateral weight array size (inhibitory).
|
|
|
|
|
|
Whether init_network has been called yet.
|
|
|
|
|
|
Number of current rows per processor.
Definition at line 70 of file globals.c. Referenced by InputVectorWrapper::activate(), CortexMapWrapper::add_input(), InputVectorWrapper::add_input(), FixedWtRegion::add_input(), KernelFactory::create(), Plot::AARImage::draw_border(), FixedWtRegion::input_dimensions(), and Plot::MatrixImage::outline_boundary(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
map activity from the last complete iter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Precomputed distance for active aff wts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000