Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CommaStrategyOne.h

Go to the documentation of this file.
00001 // CommaStrategyOne.h: interface for the CCommaStrategyOne class.
00002 //
00004 
00005 #if !defined(AFX_COMMASTRATEGYONE_H__C2BC96DA_1AF9_4A0A_8AE4_4A4192939E00__INCLUDED_)
00006 #define AFX_COMMASTRATEGYONE_H__C2BC96DA_1AF9_4A0A_8AE4_4A4192939E00__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include "EvolutionStrategy.h"
00013 #include <algorithm>
00014 
00015 class CCommaStrategyOne : public CEvolutionStrategy  
00016 {
00017 public:
00018         CCommaStrategyOne(CParameterFilter *pFilter);
00019         CCommaStrategyOne(CParameterFilter *pFilter, double sigma, int mu, int rho, int lambda, int nGenerations, int seed);
00020         virtual ~CCommaStrategyOne();
00021         void InitializePopulation(double *parameters);
00022         void SelectParents();
00023         void Mutation(int whichOffspring);
00024         void Recombination(int whichOffspring);
00025         void Select();
00026 private:
00027         double m_dTau;
00028         double m_dTauPrime;
00029         double m_dInitialSigma;
00030 };
00031 
00032 #endif // !defined(AFX_COMMASTRATEGYONE_H__C2BC96DA_1AF9_4A0A_8AE4_4A4192939E00__INCLUDED_)

Generated on Mon Nov 3 09:37:42 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002