TarzaNN
TarzaNN neural network simulator
|
#include <Layer.h>
Public Member Functions | |
Layer (QString name, int dirs, int scales, int type=LAYER_DEFAULT) | |
virtual | ~Layer () |
virtual void | updateNN (Observer *sourceFP, bool functional) |
int | size () |
void | add (FeaturePlaneAbstract *toAdd) |
vector< FeaturePlaneAbstract * > * | getFeaturePlanes () |
QString | Name () |
int | Type () |
int | Dirs () |
int | Scales () |
void | notify (int step) |
void | notify (bool functional) |
Static Public Member Functions | |
static int | getType (const QString &name) |
Public Attributes | |
Matrix * | winners |
Protected Attributes | |
vector< FeaturePlaneAbstract * > | _featurePlanes |
QString | _name |
int | _type |
int | _numberOfDirections |
int | _numberOfScales |
Layer::Layer | ( | QString | name, |
int | dirs, | ||
int | scales, | ||
int | type = LAYER_DEFAULT |
||
) |
Layer::~Layer | ( | ) | [virtual] |
void Layer::add | ( | FeaturePlaneAbstract * | toAdd | ) | [inline] |
int Layer::Dirs | ( | ) | [inline] |
vector<FeaturePlaneAbstract*>* Layer::getFeaturePlanes | ( | ) | [inline] |
static int Layer::getType | ( | const QString & | name | ) | [inline, static] |
QString Layer::Name | ( | ) | [inline] |
void Layer::notify | ( | int | step | ) |
void Layer::notify | ( | bool | functional | ) |
int Layer::Scales | ( | ) | [inline] |
int Layer::size | ( | ) | [inline] |
int Layer::Type | ( | ) | [inline] |
vector<FeaturePlaneAbstract*> Layer::_featurePlanes [protected] |
STL vector of all the FPs in the layer
QString Layer::_name [protected] |
int Layer::_numberOfDirections [protected] |
int Layer::_numberOfScales [protected] |
int Layer::_type [protected] |