TarzaNN
TarzaNN neural network simulator
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
InputFeaturePlane Class Reference

#include <InputFeaturePlane.h>

Inheritance diagram for InputFeaturePlane:
InputFeaturePlaneAbstract FeaturePlaneAbstract Observer Viewable

List of all members.

Public Member Functions

 ~InputFeaturePlane ()
void run ()
 Entry point from thread pool.

Protected Member Functions

 InputFeaturePlane (Network *net, int l, const char *filename, QString *name, bool isWTA, bool visible, bool scale, float min, float max, NotifyStrategyAbstract *notify, int taskType=TASK_TYPE_NULL, const char *taskFilename=NULL, int taskCode=TASK_CODE_NULL)
void inhibitReturn ()
void applyGatingControl (Matrix *theGatingControl)
void applyIOR (Matrix *iorMap)

Protected Attributes

bool scale
float min
float max

Static Protected Attributes

static int codeCoordinates [TASK_CODE_LAST][4]

Friends

class FeaturePlaneFactory
class Network

Detailed Description

It loads an image file (PNG, BMP, XBM, XPM, PNM, and possibly JPG, GIF, MNG, based on how QT was compiled - see QImageIO) and offers it as output.


Constructor & Destructor Documentation

InputFeaturePlane::~InputFeaturePlane ( )
InputFeaturePlane::InputFeaturePlane ( Network net,
int  l,
const char *  filename,
QString *  name,
bool  isWTA,
bool  visible,
bool  scale,
float  min,
float  max,
NotifyStrategyAbstract notify,
int  taskType = TASK_TYPE_NULL,
const char *  taskFilename = NULL,
int  taskCode = TASK_CODE_NULL 
) [protected]

Default - load input/test.pgm Load the specified file

Parameters:
net- network, this FP will be added to the end of the list of feature planes
filename- file to open as input
name- name of the feature plane
visible- should the FP be presented in the UI
scale- to scale or not to scale, this is the question
min- scale currentOutput to the min - max range
max- scale currentOutput to the min - max range
notify- notification strategy (deprecated, on the way out)

Member Function Documentation

void InputFeaturePlane::applyGatingControl ( Matrix theGatingControl) [protected, virtual]

Reimplemented from InputFeaturePlaneAbstract.

void InputFeaturePlane::applyIOR ( Matrix iorMap) [protected, virtual]

Reimplemented from InputFeaturePlaneAbstract.

void InputFeaturePlane::inhibitReturn ( ) [protected, virtual]

Reimplemented from InputFeaturePlaneAbstract.

void InputFeaturePlane::run ( ) [virtual]

Entry point from thread pool.

Reimplemented from InputFeaturePlaneAbstract.


Friends And Related Function Documentation

friend class FeaturePlaneFactory [friend]

Reimplemented from FeaturePlaneAbstract.

friend class Network [friend]

Reimplemented from FeaturePlaneAbstract.


Member Data Documentation

int InputFeaturePlane::codeCoordinates [static, protected]
Initial value:
{
        {0,0,0,0},      
        {2,2,4,4},      
        {0,0,3,6},      
        {3,0,6,6},      
        {0,0,6,3},      
        {0,3,6,6},      
        {0,0,3,3},      
        {3,0,6,3},      
        {0,3,3,6},      
        {3,3,6,6}       
}
float InputFeaturePlane::max [protected]
float InputFeaturePlane::min [protected]
bool InputFeaturePlane::scale [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines