#include <axon.h>
Collaboration diagram for Axon:
Public Member Functions | |
Axon (int _id, Neuron *_in, Neuron *_out) | |
int | getId () |
double | getWeight (void) |
void | setWeight (double weight) |
Neuron * | getNeuronIn () |
Neuron * | getNeuronOut () |
void | draw (int selected, const bool names) |
void | drawAxon (Vec from, Vec to, const bool names) |
void | forwardPropagation () |
void | gradientPropagation () |
void | changeWeight (double convergenceCoeff) |
float | rad2deg (float rad) |
float | deg2rad (float deg) |
|
Definition at line 16 of file axon.cpp. References rg. |
|
Definition at line 90 of file axon.cpp. References Neuron::getGradientValue(), and Neuron::getOutValue(). |
|
|
|
Graphism relative functions. Definition at line 47 of file axon.cpp. References Network::displayaxons(), drawAxon(), Neuron::frame(), and network. |
|
Definition at line 57 of file axon.cpp. References Network::displayvalues(), inn, network, and Network::neuronsize(). Referenced by draw(). |
|
Learning relative functions. Definition at line 82 of file axon.cpp. References Neuron::getOutValue(), and Neuron::incOutValueTemp(). |
|
Accessors. |
|
|
|
|
|
|
|
Definition at line 86 of file axon.cpp. References Neuron::getGradientValue(), and Neuron::incGradientValueTemp(). |
|
Misc functions. |
|
Definition at line 37 of file axon.cpp. Referenced by Network::addAxon(). |