diff options
author | Mike Buland <eichlan@xagasoft.com> | 2019-08-08 09:59:41 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2019-08-08 09:59:41 -0700 |
commit | ca9f059a4295db6269728b0b747036f995c777a9 (patch) | |
tree | 849844f91121dfe0c9a6d974838ffa2220cd67f8 /src/population.h | |
parent | e9cfcc6dfc8427904ab227eea2452ccddd8f295c (diff) | |
download | libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.tar.gz libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.tar.bz2 libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.tar.xz libgenetic-ca9f059a4295db6269728b0b747036f995c777a9.zip |
Added more features to the simulation.
Diffstat (limited to 'src/population.h')
-rw-r--r-- | src/population.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/population.h b/src/population.h index c2d1bec..4c7d435 100644 --- a/src/population.h +++ b/src/population.h | |||
@@ -26,7 +26,7 @@ namespace Genetic | |||
26 | int getSize() const { return hPhenotype.getSize(); } | 26 | int getSize() const { return hPhenotype.getSize(); } |
27 | 27 | ||
28 | PhenotypeId addPhenotype( Phenotype *pNew ); | 28 | PhenotypeId addPhenotype( Phenotype *pNew ); |
29 | Phenotype *getPhenotype( PhenotypeId id ) | 29 | Phenotype *getPhenotype( PhenotypeId id ) const |
30 | { return hPhenotype.get( id ); } | 30 | { return hPhenotype.get( id ); } |
31 | bool hasProperty( PhenotypeId id, const Bu::String &sKey ) const; | 31 | bool hasProperty( PhenotypeId id, const Bu::String &sKey ) const; |
32 | Bu::Variant getProperty( PhenotypeId id, const Bu::String &sKey ) const; | 32 | Bu::Variant getProperty( PhenotypeId id, const Bu::String &sKey ) const; |