Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

NeuronContainer Class Reference

Neuron container. More...

#include <annetwork.h>

Inheritance diagram for NeuronContainer:

ANNetwork List of all members.

Public Methods

void add (Neuron *neuron)
void removeUnit (int i)

Protected Attributes

Array< Neuron > & mUnits

Detailed Description

Neuron container.

This class abstracts the handling of neurons in a neural network.

Definition at line 64 of file annetwork.h.


Member Function Documentation

void add Neuron   neuron
 

Adds a neuron to the container.

The container takes the ownership of the neuron and will delete it properly when the time comes.

Definition at line 60 of file annetwork.cc.

void removeUnit int    i
 

Removes the i:th unit and all connections from it and to it.

Definition at line 65 of file annetwork.cc.

References mUnits.

Referenced by ANNetwork::cleanup().


Member Data Documentation

Array<Neuron>& mUnits [protected]
 

Neurons in the container.

Definition at line 92 of file annetwork.h.

Referenced by ANNetwork::check(), ANNetwork::cleanup(), ANNetwork::connect(), ANNetwork::connectFfw(), ANNetwork::connectFull(), ANNetwork::copyFreeNet(), ANNetwork::drawEPS(), ANNetwork::drawFeedForward(), ANNetwork::init(), ANNetwork::operator>>(), removeUnit(), ANNetwork::reset(), and ANNetwork::update().


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:45 2005 for Inanna by doxygen1.2.18