API for single-term weight dependence rules.
More...
Go to the source code of this file.
API for single-term weight dependence rules.
Definition in file weight_one_term.h.
◆ weight_one_term_apply_depression()
Apply the depression rule to the weight state.
- Parameters
-
[in] | state | The weight state to update |
[in] | depression | The amount of depression to apply |
- Returns
- the updated weight state
◆ weight_one_term_apply_potentiation()
Apply the potentiation rule to the weight state.
- Parameters
-
[in] | state | The weight state to update |
[in] | potentiation | The amount of potentiation to apply |
- Returns
- the updated weight state