RBFClassificationControl Class Reference

GNGGLUTRepresentation uses the control-object's Iterate method every time the CallBackIdleFunc is called. More...

#include <RBFClassificationControl.hpp>

Inheritance diagram for RBFClassificationControl:

Control List of all members.

Public Member Functions

 RBFClassificationControl (RBFNetwork &net, IInputGenerator *g, SGNGAlgorithm *alg, unsigned int max, unsigned int backLog, double decisionLimit, double decisionDelta, std::ofstream *log)
 Creates a RBF Network control Object that "runs" the network and sgng alg.

virtual ~RBFClassificationControl ()
virtual bool Iterate ()
 The main loop.


Protected Member Functions

virtual bool IsStopCriteriaMet ()

Protected Attributes

RBFNetworkm_net
IInputGeneratorm_generator
SGNGAlgorithmm_alg
unsigned int m_maxMisclassificationsAllowed
double m_decisionLimit
double m_decisionDelta
unsigned int m_backLog
unsigned int m_numMisclassifications
std::ofstream * m_log

Detailed Description

GNGGLUTRepresentation uses the control-object's Iterate method every time the CallBackIdleFunc is called.

Placing the code separately in this object is a way of allowing GL independent code and state information.


Constructor & Destructor Documentation

RBFClassificationControl RBFNetwork net,
IInputGenerator g,
SGNGAlgorithm alg,
unsigned int  max,
unsigned int  backLog,
double  decisionLimit,
double  decisionDelta,
std::ofstream *  log
 

Creates a RBF Network control Object that "runs" the network and sgng alg.

Parameters:
net The RBF network
g a Generator object that generates input and corresponding output signals.
alg The SGNG version of GNG
max The maximum number of misclassifications allowed, when below this, we stop.
backLog The log size, used to calculate the current number of misclassifications.

virtual ~RBFClassificationControl  )  [virtual]
 


Member Function Documentation

virtual bool Iterate  )  [virtual]
 

The main loop.

Implements Control.

virtual bool IsStopCriteriaMet  )  [protected, virtual]
 

Implements Control.


Member Data Documentation

RBFNetwork& m_net [protected]
 

IInputGenerator& m_generator [protected]
 

SGNGAlgorithm* m_alg [protected]
 

unsigned int m_maxMisclassificationsAllowed [protected]
 

double m_decisionLimit [protected]
 

double m_decisionDelta [protected]
 

unsigned int m_backLog [protected]
 

unsigned int m_numMisclassifications [protected]
 

std::ofstream* m_log [protected]
 


Generated on Mon Mar 22 16:40:49 2004 for GNG_GL by doxygen 1.3.6