#include <Connection.h>
Inheritance diagram for verve::Connection:
Public Member Functions | |
VERVE_DECL | Connection (Neuron *preNeuron, Neuron *postNeuron) |
virtual VERVE_DECL | ~Connection () |
virtual VERVE_DECL void VERVE_CALL | resetShortTermMemory () |
virtual VERVE_DECL void VERVE_CALL | setWeight (real value) |
virtual VERVE_DECL real VERVE_CALL | getWeight () const |
virtual VERVE_DECL void VERVE_CALL | addToWeight (real delta) |
virtual VERVE_DECL Neuron *VERVE_CALL | getPreNeuron () const |
virtual VERVE_DECL Neuron *VERVE_CALL | getPostNeuron () const |
Protected Attributes | |
real | mWeight |
Neuron * | mPreNeuron |
Neuron * | mPostNeuron |
Definition at line 34 of file Connection.h.
|
The pre-synaptic and post-synaptic Neuron pointers here must be non-NULL.
Definition at line 29 of file Connection.cpp. References mPostNeuron, mPreNeuron, and mWeight. |
|
Deallocates any dynamically allocated memory. This object should never be destroyed by the user calling 'delete' because memory allocated within the DLL should also be destroyed within the DLL. Definition at line 42 of file Connection.cpp. |
|
Adds a value to the weight. Automatically updates the input sums of all post-synaptic Neurons. Definition at line 76 of file Connection.cpp. References verve::Neuron::addToSynapticInputSum(), verve::Neuron::getFiringRate(), mPostNeuron, mPreNeuron, and mWeight. Referenced by verve::TDConnection::applyTDLearning(). |
|
Returns the post-synaptic Neuron.
Definition at line 101 of file Connection.cpp. References mPostNeuron. |
|
Returns the pre-synaptic Neuron.
Definition at line 96 of file Connection.cpp. References mPreNeuron. |
|
Returns the weight.
Definition at line 50 of file Connection.cpp. References mWeight. |
|
Resets temporary dynamics without affecting learned parameters.
Reimplemented in verve::TDConnection. Definition at line 46 of file Connection.cpp. Referenced by verve::TDConnection::resetShortTermMemory(). |
|
Sets the weight. Automatically updates the input sums of all post-synaptic Neurons. Definition at line 55 of file Connection.cpp. References verve::Neuron::addToSynapticInputSum(), verve::Neuron::getFiringRate(), mPostNeuron, mPreNeuron, and mWeight. Referenced by verve::Projection::setInitialConnectionWeight(). |
|
The post-synaptic Neuron.
Definition at line 81 of file Connection.h. Referenced by addToWeight(), Connection(), getPostNeuron(), verve::TDConnection::increaseETrace(), and setWeight(). |
|
The pre-synaptic Neuron.
Definition at line 78 of file Connection.h. Referenced by addToWeight(), Connection(), getPreNeuron(), verve::TDConnection::increaseETrace(), and setWeight(). |
|
The Connection weight.
Definition at line 75 of file Connection.h. Referenced by addToWeight(), Connection(), getWeight(), and setWeight(). |