#include <NeuronalNetwork.h>
List of all members.
Public Member Functions |
| | TNeuronalNetwork () |
| virtual Retval MQUALIFIER | addHiddenLayer (Int iNeuronCount) |
| virtual Retval MQUALIFIER | createInputLayer (Int iNeuronCount) |
| virtual Retval MQUALIFIER | createOutputLayer (Int iNeuronCount) |
| virtual void MQUALIFIER | findFixed (const IList< bool > &rList) |
| virtual Int MQUALIFIER | getLayerCount () const |
| virtual void MQUALIFIER | getOutputActivity (IList< bool > &rList) const |
| virtual void MQUALIFIER | setInputActivity (const IList< bool > &rList) |
| virtual void MQUALIFIER | loadFromXML (const IString &rFileName) |
| virtual void MQUALIFIER | saveToXML () |
| virtual Retval MQUALIFIER | attach (IObserver &rObserver) |
| virtual Retval MQUALIFIER | detach (IObserver &rObserver) |
| virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface) |
| virtual void MQUALIFIER | addRef () const |
| virtual void MQUALIFIER | release () const |
Protected Types |
| typedef TManagedList< TNeuron > | TNeuronList |
Protected Member Functions |
| virtual | ~TNeuronalNetwork () |
| virtual TNeuron & | createNeuron (Uint uiID, Float fThreshold, Float fPotential) |
| virtual TNeuron & | createNeuron () |
| void | fireLayer (Int iLayerIndex) |
| void | resetPotentials () |
| void | updateLayer (Int iLayerIndex) |
| void | createLayer (Int iLayerIndex, Int iNeuronCount) |
Static Protected Member Functions |
| static void | connectWithChance (TNeuronList &rSourceList, TNeuronList &rDestList, Int iSrcStart=-1, Int iSrcEnd=-1, Int iDestStart=-1, Int iDestEnd=-1, Float fChance=1.0) |
Protected Attributes |
| TSingleLinkedList< TNeuronList > | m_lstLayers |
TManagedList
< INeuronalNetworkObserver > | m_lstObserver |
Detailed Description
Neuronal network class. It defines a whole neuronal network and implements methods for training and running state
Member Typedef Documentation
Constructor & Destructor Documentation
| TNeuronalNetwork::TNeuronalNetwork |
( |
) |
|
Creates a neuronal network
| TNeuronalNetwork::~TNeuronalNetwork |
( |
) |
[protected, virtual] |
Destroys the neuronal network
Member Function Documentation
| Retval MQUALIFIER TNeuronalNetwork::addHiddenLayer |
( |
Int |
iNeuronCount ) |
[virtual] |
| virtual void MQUALIFIER zeus::TNeuronalNetwork::addRef |
( |
) |
const [virtual] |
| virtual Retval MQUALIFIER zeus::TNeuronalNetwork::askForInterface |
( |
const InterfaceID & |
rInterfaceID, |
|
|
IZUnknown *& |
rpIface |
|
) |
| [virtual] |
| Retval MQUALIFIER TNeuronalNetwork::attach |
( |
IObserver & |
rObserver ) |
[virtual] |
- See also:
- ISubject::attach
| void TNeuronalNetwork::connectWithChance |
( |
TNeuronList & |
rSourceList, |
|
|
TNeuronList & |
rDestList, |
|
|
Int |
iSrcStart = -1, |
|
|
Int |
iSrcEnd = -1, |
|
|
Int |
iDestStart = -1, |
|
|
Int |
iDestEnd = -1, |
|
|
Float |
fChance = 1.0 |
|
) |
| [static, protected] |
This static method will be called to connect a range for source neurons with an other range of destination neurons. Using the change parameter we can add some randomized connections.
- Parameters:
-
| rSourceList | : Source list (layer) of neurons |
| rDestList | : Destination list (layer) of neurons |
| iSrcStart | : start in the source list (-1 = default) |
| iSrcEnd | : end in the source list (-1 = default) |
| iDestStart | : start in the destination list (-1 = default) |
| iDestEnd | : end in the destination list (-1 = default) |
| fChance | : chance of connection (1.0 = default) |
| Retval MQUALIFIER TNeuronalNetwork::createInputLayer |
( |
Int |
iNeuronCount ) |
[virtual] |
| void TNeuronalNetwork::createLayer |
( |
Int |
iLayerIndex, |
|
|
Int |
iNeuronCount |
|
) |
| [protected] |
Creates a new layer. An existing layer might be overwritten
| virtual TNeuron& zeus::TNeuronalNetwork::createNeuron |
( |
) |
[inline, protected, virtual] |
| virtual TNeuron& zeus::TNeuronalNetwork::createNeuron |
( |
Uint |
uiID, |
|
|
Float |
fThreshold, |
|
|
Float |
fPotential |
|
) |
| [inline, protected, virtual] |
| Retval MQUALIFIER TNeuronalNetwork::createOutputLayer |
( |
Int |
iNeuronCount ) |
[virtual] |
| Retval MQUALIFIER TNeuronalNetwork::detach |
( |
IObserver & |
rObserver ) |
[virtual] |
- See also:
- ISubject::detach
| void MQUALIFIER TNeuronalNetwork::findFixed |
( |
const IList< bool > & |
rList ) |
[virtual] |
| void TNeuronalNetwork::fireLayer |
( |
Int |
iLayerIndex ) |
[protected] |
fires all neurons of a layer
| Int MQUALIFIER zeus::TNeuronalNetwork::getLayerCount |
( |
) |
const [inline, virtual] |
| void MQUALIFIER TNeuronalNetwork::getOutputActivity |
( |
IList< bool > & |
rList ) |
const [virtual] |
| void MQUALIFIER TNeuronalNetwork::loadFromXML |
( |
const IString & |
rFileName ) |
[virtual] |
| virtual void MQUALIFIER zeus::TNeuronalNetwork::release |
( |
) |
const [virtual] |
| void TNeuronalNetwork::resetPotentials |
( |
) |
[protected] |
Resets the network potentials
| void MQUALIFIER TNeuronalNetwork::saveToXML |
( |
) |
[virtual] |
| void MQUALIFIER TNeuronalNetwork::setInputActivity |
( |
const IList< bool > & |
rList ) |
[virtual] |
| void TNeuronalNetwork::updateLayer |
( |
Int |
iLayerIndex ) |
[protected] |
Updates the neuron activity of a layer
Member Data Documentation
The documentation for this class was generated from the following files: