Plastic synaptic weights are initialized to initWt, and can range between some minWt and some maxWt. Fixed weights will always have the same value. All weight values should be non-negative (equivalent to weight magnitudes), even for inhibitory connections.
- Parameters
-
[in] | min | the lower bound for weight values |
[in] | init | the initial value for weight values |
[in] | max | the upper bound for weight values Examples: RangeWeight(0.1) => all weights will be 0.1 (wt.min=0.1, wt.max=0.1, wt.init=0.1) RangeWeight(0.0,0.2) => If pre is excitatory: all weights will be in range [0.0,0.2], and wt.init=0.0. If pre is inhibitory: all weights will be in range [-0.2,0.0], and wt.init=0.0. RangeWeight(0.0,0.1,0.2) => If pre is excitatory: all weights will be in range [0.0,0.2], and wt.init=0.1. If pre is inhibitory: all weights will be in range [-0.2,0.0], and wt.init=0.0. |
Definition at line 436 of file carlsim_datastructures.h.