InputGeneratorJump Class Reference

Moves a provided inputGenerator from upper left corner to lower right. More...

#include <InputGeneratorJump.hpp>

Inheritance diagram for InputGeneratorJump:

IInputGenerator List of all members.

Public Member Functions

 InputGeneratorJump (IInputGenerator *ig, unsigned int jumpDelay, double scale)
virtual ~InputGeneratorJump ()
virtual Vector GetInput ()
virtual Vector GetOutput ()
 Returns the output corresponding to the latest generated input.

virtual Vector const & GetLastInput () const
virtual unsigned int GetDimension () const
Vector GetTranslation ()
double GetScale ()
virtual GeneratorType GetGeneratorType () const

Protected Attributes

double m_scale
unsigned int m_steps
unsigned int m_jumpDelay
Vector m_dir
Vector m_translate
Vector m_vector
IInputGeneratorm_inputGenerator
double m_minY
double m_maxY
double m_minX
double m_maxX

Detailed Description

Moves a provided inputGenerator from upper left corner to lower right.


Constructor & Destructor Documentation

InputGeneratorJump IInputGenerator ig,
unsigned int  jumpDelay,
double  scale
 

virtual ~InputGeneratorJump  )  [virtual]
 


Member Function Documentation

virtual Vector GetInput  )  [virtual]
 

Returns:
An m_dimensional vector.

Implements IInputGenerator.

virtual Vector GetOutput  )  [virtual]
 

Returns the output corresponding to the latest generated input.

Must be implemented, but is not used by GNG or GNG-U.

Returns:
the output corresponding to the latest generated input.

Reimplemented from IInputGenerator.

virtual Vector const& GetLastInput  )  const [virtual]
 

Returns:
The Latest generated Input Vector.

Implements IInputGenerator.

virtual unsigned int GetDimension  )  const [virtual]
 

Returns:
The dimension, which is 2.

Implements IInputGenerator.

Vector GetTranslation  ) 
 

Returns:
The current x-position of the moving square.

double GetScale  ) 
 

Returns:
The size of the edges of the moving square.

virtual GeneratorType GetGeneratorType  )  const [virtual]
 

Returns:
ClassesGenerator, since this is a generator for classification

Implements IInputGenerator.


Member Data Documentation

double m_scale [protected]
 

unsigned int m_steps [protected]
 

unsigned int m_jumpDelay [protected]
 

Vector m_dir [protected]
 

Vector m_translate [protected]
 

Vector m_vector [protected]
 

IInputGenerator& m_inputGenerator [protected]
 

double m_minY [protected]
 

double m_maxY [protected]
 

double m_minX [protected]
 

double m_maxX [protected]
 


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