Changeset 513 for cpp/frams/genetics/fF
- Timestamp:
- 05/23/16 13:52:53 (9 years ago)
- Location:
- cpp/frams/genetics/fF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fF/oper_fF.cpp
r286 r513 26 26 } 27 27 28 int GenoOper_fF::checkValidity(const char* gene )28 int GenoOper_fF::checkValidity(const char* gene, const char *genoname) 29 29 { 30 30 fF_growth_params par; … … 32 32 } 33 33 34 int GenoOper_fF::validate(char *&gene )34 int GenoOper_fF::validate(char *&gene, const char *genoname) 35 35 { 36 36 fF_growth_params par; //is initialized with default values -
cpp/frams/genetics/fF/oper_fF.h
r286 r513 13 13 public: 14 14 GenoOper_fF(); 15 int checkValidity(const char * );16 int validate(char *& );15 int checkValidity(const char *, const char *genoname); 16 int validate(char *&, const char *genoname); 17 17 int mutate(char *&g, float& chg, int &method); 18 18 int crossOver(char *&g1, char *&g2, float& chg1, float& chg2); 19 19 uint32_t style(const char *g, int pos); 20 const char* getSimplest() { return "6, 1.05, 1.05, 1.05, 0, 0, 0"; }20 const char* getSimplest() { return "6, "/*"1, 1, 1, "*/"1.05, 1.05, 1.05, 0, 0, 0"; } 21 21 22 22 double xover_proportion;
Note: See TracChangeset
for help on using the changeset viewer.