API for dual-term weight dependence rules.
More...
Go to the source code of this file.
API for dual-term weight dependence rules.
Definition in file weight_two_term.h.
◆ weight_two_term_apply_depression()
Apply the depression rule to the weight state.
- Parameters
-
[in] | state | The weight state to update |
[in] | depression_1 | The amount of depression to apply to term 1 |
[in] | depression_2 | The amount of depression to apply to term 2 |
- Returns
- the updated weight state
◆ weight_two_term_apply_potentiation()
Apply the potentiation rule to the weight state.
- Parameters
-
[in] | state | The weight state to update |
[in] | potentiation_1 | The amount of potentiation to apply to term 1 |
[in] | potentiation_2 | The amount of potentiation to apply to term 2 |
- Returns
- the updated weight state