19#ifndef _THRESHOLD_TYPE_FIXED_PROB_H_
20#define _THRESHOLD_TYPE_FIXED_PROB_H_
59static inline bool threshold_type_is_above_threshold(
63 return random_number < threshold_type->
prob;
unsigned accum UREAL
Type used for "unsigned real" numbers.
accum REAL
Type used for "real" numbers.
REAL state_t
The type of a state variable.
static uint n_steps_per_timestep
The number of steps to run per timestep.
uint32_t mars_kiss64_seed(mars_kiss64_seed_t seed)
uint32_t mars_kiss64_seed_t[4]
void validate_mars_kiss64_seed(mars_kiss64_seed_t seed)
void spin1_memcpy(void *dst, void const *src, uint len)
static stdp_params params
Configuration parameters.
REAL threshold_value
The value of the static threshold.
mars_kiss64_seed_t random_seed
The random seed.
REAL threshold_value
The value of the static threshold.
UREAL prob
The probability of spiking when the threshold has been crossed.
mars_kiss64_seed_t random_seed
The random seed.
uint32_t prob
The probability of spiking when the threshold has been crossed.
Stochastic threshold parameters.
Stochastic threshold configuration.