summaryrefslogtreecommitdiff
path: root/src/explicitsimulation.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2019-08-08 09:59:41 -0700
committerMike Buland <eichlan@xagasoft.com>2019-08-08 09:59:41 -0700
commitca9f059a4295db6269728b0b747036f995c777a9 (patch)
tree849844f91121dfe0c9a6d974838ffa2220cd67f8 /src/explicitsimulation.h
parente9cfcc6dfc8427904ab227eea2452ccddd8f295c (diff)
downloadlibgenetic-ca9f059a4295db6269728b0b747036f995c777a9.tar.gz
libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.tar.bz2
libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.tar.xz
libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.zip
Added more features to the simulation.
Diffstat (limited to '')
-rw-r--r--src/explicitsimulation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/explicitsimulation.h b/src/explicitsimulation.h
index 78cb904..9869053 100644
--- a/src/explicitsimulation.h
+++ b/src/explicitsimulation.h
@@ -28,6 +28,8 @@ namespace Genetic
28 28
29 double getMinFitness() const { return dMinFitness; } 29 double getMinFitness() const { return dMinFitness; }
30 double getMaxFitness() const { return dMaxFitness; } 30 double getMaxFitness() const { return dMaxFitness; }
31 Genetic::PhenotypeId getMaxFitnessId() const;
32 Genetic::Phenotype *getMaxFitnessPhenotype() const;
31 double getFitness( Genetic::PhenotypeId id ) const 33 double getFitness( Genetic::PhenotypeId id ) const
32 { return hFitness.get( id ); } 34 { return hFitness.get( id ); }
33 35