sPyNNaker neural_modelling 7.2.2
Loading...
Searching...
No Matches
weight_one_term.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 The University of Manchester
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
19#ifndef _WEIGHT_ONE_TERM_H_
20#define _WEIGHT_ONE_TERM_H_
21
22#include "weight.h"
23
29 weight_state_t state, int32_t depression);
30
36 weight_state_t state, int32_t potentiation);
37
38#endif // _WEIGHT_ONE_TERM_H_
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_one_term_apply_potentiation(weight_state_t state, int32_t potentiation)
Apply the potentiation rule to the weight state.
static weight_state_t weight_one_term_apply_depression(weight_state_t state, int32_t depression)
Apply the depression rule to the weight state.