diff options
Diffstat (limited to 'src/explicitsimulation.h')
-rw-r--r-- | src/explicitsimulation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/explicitsimulation.h b/src/explicitsimulation.h index e71b489..78cb904 100644 --- a/src/explicitsimulation.h +++ b/src/explicitsimulation.h | |||
@@ -18,7 +18,7 @@ namespace Genetic | |||
18 | public: | 18 | public: |
19 | ExplicitSimulation( Operator *pOper, FitnessFunction *pFunc, | 19 | ExplicitSimulation( Operator *pOper, FitnessFunction *pFunc, |
20 | int iThreads, int iPopSize, float fKeep, float fRandom, | 20 | int iThreads, int iPopSize, float fKeep, float fRandom, |
21 | bool bKeepBest=true ); | 21 | bool bKeepBest=true, bool bRecalcSurvivors=false ); |
22 | virtual ~ExplicitSimulation(); | 22 | virtual ~ExplicitSimulation(); |
23 | 23 | ||
24 | void timestep(); | 24 | void timestep(); |
@@ -47,6 +47,7 @@ namespace Genetic | |||
47 | float fKeep; | 47 | float fKeep; |
48 | float fRandom; | 48 | float fRandom; |
49 | bool bKeepBest; | 49 | bool bKeepBest; |
50 | bool bRecalcSurvivors; | ||
50 | typedef Bu::Hash<Genetic::PhenotypeId, double> FitnessHash; | 51 | typedef Bu::Hash<Genetic::PhenotypeId, double> FitnessHash; |
51 | FitnessHash hFitness; | 52 | FitnessHash hFitness; |
52 | double dMinFitness; | 53 | double dMinFitness; |