#include <layer.h>
Public Member Functions | |
Layer (int _id) | |
int | getId () |
list< Neuron * > * | getNeurons () |
int | getNum () |
Neuron * | getNeuronFromId (int id_neur) |
void | draw (int selected, const bool names=false) |
void | drawNeurons (int selected, const bool names=false) |
void | drawLayer (const bool names=false) |
ManipulatedFrame * | frame (int id) |
int | nbNeurons () |
void | addNeuron (int id) |
void | addNeuron (int id, float x, float z) |
void | removeNeuron (int id) |
void | removeNeurons () |
bool | existNeuron (int id) |
void | setNeuronsLinePos (int n, list< Neuron * >::iterator *iter, float z) |
void | updateNeuronsPos (void) |
void | clearAxons () |
void | resetAllValues () |
void | resetTempValues () |
void | forwardPropagation () |
void | gradientBackPropagation () |
void | description () |
|
|
|
Definition at line 89 of file layer.cpp. References Neuron::setX(), and Neuron::setZ(). |
|
Definition at line 82 of file layer.cpp. References updateNeuronsPos(). Referenced by Network::addNeuron(). |
|
Axons relative functions. |
|
Misc functions. Definition at line 257 of file layer.cpp. Referenced by Network::description(). |
|
Graphism relative functions. Definition at line 36 of file layer.cpp. References Network::displaylayers(), drawLayer(), getNum(), and network. Referenced by Network::draw(). |
|
Definition at line 53 of file layer.cpp. References network, and Network::shininess(). Referenced by draw(). |
|
Definition at line 47 of file layer.cpp. Referenced by Network::draw(). |
|
Definition at line 121 of file layer.cpp. Referenced by Network::existNeuron(), Network::getLayerNumTheNeuronIsOn(), Network::getNeuronFromId(), and Network::removeNeuron(). |
|
Definition at line 245 of file layer.cpp. Referenced by Network::forwardPropagation(). |
|
Definition at line 70 of file layer.cpp. Referenced by Network::frame(). |
|
Accessors. Definition at line 17 of file layer.cpp. Referenced by Network::addNeuron(), Network::clearLayer(), Network::existLayer(), Network::getLayer(), Network::getLayerNumFromLayerId(), and Network::getNbNeurons(). |
|
Definition at line 29 of file layer.cpp. Referenced by Network::getNeuronFromId(). |
|
Definition at line 21 of file layer.cpp. Referenced by Network::getOutValues(), Network::initLayerIn(), Network::initLayerOutGradient(), and Network::link2Layers(). |
|
Definition at line 25 of file layer.cpp. References Network::getLayerNumFromLayerId(), and network. Referenced by draw(), and setNeuronsLinePos(). |
|
Definition at line 251 of file layer.cpp. Referenced by Network::gradientBackPropagation(). |
|
Neurons relative functions. Definition at line 78 of file layer.cpp. Referenced by Network::getNbNeurons(), Network::nbNeurons(), Network::readExampleFile(), and Network::readTestFile(). |
|
Definition at line 98 of file layer.cpp. Referenced by Network::removeNeuron(). |
|
Definition at line 112 of file layer.cpp. Referenced by Network::clearLayer(). |
|
Learning relative functions. Definition at line 227 of file layer.cpp. Referenced by Network::resetAllValues(). |
|
Definition at line 237 of file layer.cpp. Referenced by Network::resetTempValues(). |
|
Definition at line 128 of file layer.cpp. References getNum(), network, and Network::neuronsize(). Referenced by updateNeuronsPos(). |
|
Definition at line 175 of file layer.cpp. References network, Network::neuronsize(), and setNeuronsLinePos(). Referenced by addNeuron(). |