GLBaseParameters Struct Reference

#include <GLBaseParameters.h>

Inheritance diagram for GLBaseParameters:

GLBreederStandard::TParameters GLMutatorCombined::TParameters GLMutatorShuffling::TParameters GLParametersGeneticAlgorithm GLSelectionistMixer::TParameters

List of all members.

Public Member Functions

 GLBaseParameters ()
virtual ~GLBaseParameters ()
virtual GLBaseParameterscopy () const =0


Detailed Description

Base class for passing the parameters to GL classes -- allows to use the GLFactory for instantiating classes with different constructor parameters. The classes from the GLParameters family should provide public access to its members as they really are just structures with parameters. To underline it they are declared using 'struct', not 'class'. It is strongly recommended, that each of Parameters class provide default values to its members through setDefaultValues() method.

Definition at line 14 of file GLBaseParameters.h.


Constructor & Destructor Documentation

GLBaseParameters::GLBaseParameters (  )  [inline]

Simple constructor.

Definition at line 20 of file GLBaseParameters.h.

virtual GLBaseParameters::~GLBaseParameters (  )  [inline, virtual]

Simple destructor.

Definition at line 25 of file GLBaseParameters.h.


Member Function Documentation

virtual GLBaseParameters* GLBaseParameters::copy (  )  const [pure virtual]

Creates the copy of the parameters.

Returns:
pointer to identical copy of the current class exemplar.

Implemented in GLBreederStandard::TParameters, GLMutatorCombined::TParameters, GLMutatorShuffling::TParameters, GLParametersGeneticAlgorithm, and GLSelectionistMixer::TParameters.


The documentation for this struct was generated from the following file:

Generated on Sat Jun 13 13:58:06 2009 for GenLib by  doxygen 1.5.9