CARLsim
4.1.0
CARLsim: a GPU-accelerated SNN simulator
|
a range struct for synaptic delays More...
#include <carlsim_datastructures.h>
Public Member Functions | |
RangeDelay (int _min, int _max) | |
RangeDelay (int _val) | |
Public Attributes | |
int | max |
int | min |
Friends | |
std::ostream & | operator<< (std::ostream &strm, const RangeDelay &d) |
Synaptic delays can range between 1 and 20 ms. The struct maintains two fields: min and max.
[in] | min | the lower bound for delay values |
[in] | max | the upper bound for delay values Examples: RangeDelay(2) => all delays will be 2 (delay.min=2, delay.max=2) RangeDelay(1,10) => delays will be in range [1,10] |
Definition at line 278 of file carlsim_datastructures.h.
|
inline |
Definition at line 279 of file carlsim_datastructures.h.
|
inline |
Definition at line 283 of file carlsim_datastructures.h.
|
friend |
Definition at line 289 of file carlsim_datastructures.h.
int max |
Definition at line 292 of file carlsim_datastructures.h.
int min |
Definition at line 292 of file carlsim_datastructures.h.