#include <annetwork.h>
Inheritance diagram for NeuronContainer:
Public Methods | |
void | add (Neuron *neuron) |
void | removeUnit (int i) |
Protected Attributes | |
Array< Neuron > & | mUnits |
This class abstracts the handling of neurons in a neural network.
Definition at line 64 of file annetwork.h.
|
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. |
|
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(). |
|
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(). |