Changeset 513 for cpp/frams/genetics/f4
- Timestamp:
- 05/23/16 13:52:53 (9 years ago)
- Location:
- cpp/frams/genetics/f4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/oper_f4.cpp
r375 r513 86 86 87 87 88 int Geno_f4::validate(char *& geno )88 int Geno_f4::validate(char *& geno, const char *genoname) 89 89 { 90 90 // convert geno to tree, then try to validate 20 times … … 100 100 101 101 102 int Geno_f4::checkValidity(const char * geno )102 int Geno_f4::checkValidity(const char * geno, const char *genoname) 103 103 { 104 104 f4_node root; -
cpp/frams/genetics/f4/oper_f4.h
r286 r513 33 33 public: 34 34 Geno_f4(); 35 int validate(char *&);36 int checkValidity(const char *);35 int checkValidity(const char *, const char *genoname); 36 int validate(char *&, const char *genoname); 37 37 int mutate(char *& g, float & chg, int &method); 38 38 int crossOver(char *&g1, char *&g2, float& chg1, float& chg2);
Note: See TracChangeset
for help on using the changeset viewer.