Main Page | Namespace List | Data Structures | File List | Data Fields | Globals

Axon Class Reference

#include <axon.h>

Collaboration diagram for Axon:

Collaboration graph
[legend]

Public Member Functions

 Axon (int _id, Neuron *_in, Neuron *_out)
int getId ()
double getWeight (void)
void setWeight (double weight)
NeurongetNeuronIn ()
NeurongetNeuronOut ()
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)

Constructor & Destructor Documentation

Axon::Axon int  _id,
Neuron _in,
Neuron _out
 

Definition at line 16 of file axon.cpp.

References rg.


Member Function Documentation

void Axon::changeWeight double  convergenceCoeff  ) 
 

Definition at line 90 of file axon.cpp.

References Neuron::getGradientValue(), and Neuron::getOutValue().

float Axon::deg2rad float  deg  ) 
 

Definition at line 100 of file axon.cpp.

void Axon::draw int  selected,
const bool  names
 

Graphism relative functions.

Definition at line 47 of file axon.cpp.

References Network::displayaxons(), drawAxon(), Neuron::frame(), and network.

void Axon::drawAxon Vec  from,
Vec  to,
const bool  names
 

Definition at line 57 of file axon.cpp.

References Network::displayvalues(), inn, network, and Network::neuronsize().

Referenced by draw().

void Axon::forwardPropagation  ) 
 

Learning relative functions.

Definition at line 82 of file axon.cpp.

References Neuron::getOutValue(), and Neuron::incOutValueTemp().

int Axon::getId  ) 
 

Accessors.

Definition at line 31 of file axon.cpp.

Neuron * Axon::getNeuronIn  ) 
 

Definition at line 39 of file axon.cpp.

Neuron * Axon::getNeuronOut  ) 
 

Definition at line 43 of file axon.cpp.

double Axon::getWeight void   ) 
 

Definition at line 36 of file axon.cpp.

void Axon::gradientPropagation  ) 
 

Definition at line 86 of file axon.cpp.

References Neuron::getGradientValue(), and Neuron::incGradientValueTemp().

float Axon::rad2deg float  rad  ) 
 

Misc functions.

Definition at line 96 of file axon.cpp.

void Axon::setWeight double  weight  ) 
 

Definition at line 37 of file axon.cpp.

Referenced by Network::addAxon().


The documentation for this class was generated from the following files:
Generated on Fri Dec 3 14:57:56 2004 for INN by doxygen 1.3.6