RBFFunctionApproximationControl Class Reference

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

#include <RBFFunctionApproximationControl.hpp>

Inheritance diagram for RBFFunctionApproximationControl:

Control List of all members.

Public Member Functions

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

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

virtual void Snapshot ()
 Saves a predefined resolution (and range) discrete input-output table for the current function to disc.


Protected Member Functions

virtual bool IsStopCriteriaMet ()

Protected Attributes

RBFNetworkm_net
IInputGeneratorm_generator
SGNGAlgorithmm_alg
unsigned int m_backLog
double m_maxErrorAllowed
double m_currentError
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

RBFFunctionApproximationControl RBFNetwork net,
IInputGenerator g,
SGNGAlgorithm alg,
double  max,
unsigned int  backLog,
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 squared error allowed, when below this, we stop. a number between 0 and 1
backLog The log size, used to calculate the current squared error.

virtual ~RBFFunctionApproximationControl  )  [virtual]
 


Member Function Documentation

virtual bool Iterate  )  [virtual]
 

The main loop.

Implements Control.

virtual void Snapshot  )  [virtual]
 

Saves a predefined resolution (and range) discrete input-output table for the current function to disc.

Reimplemented from 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_backLog [protected]
 

double m_maxErrorAllowed [protected]
 

double m_currentError [protected]
 

std::ofstream* m_log [protected]
 


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