19#ifndef _WEIGHT_TWO_TERM_H_
20#define _WEIGHT_TWO_TERM_H_
38 weight_state_t state, int32_t potentiation_1, int32_t potentiation_2);
interface for different weight implementations for the weight half of a STDP rule.
The current state data for the rule.
static weight_state_t weight_two_term_apply_potentiation(weight_state_t state, int32_t potentiation_1, int32_t potentiation_2)
Apply the potentiation rule to the weight state.
static weight_state_t weight_two_term_apply_depression(weight_state_t state, int32_t depression_1, int32_t depression_2)
Apply the depression rule to the weight state.