Changeset 199 for cpp/frams/genetics
- Timestamp:
- 03/29/14 00:03:35 (11 years ago)
- Location:
- cpp/frams/genetics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/oper_f4.cpp
r197 r199 42 42 par.setDefault(); 43 43 44 mutation_method_names = new c har*[F4_COUNT + F4_ADD_COUNT - 1];44 mutation_method_names = new const char*[F4_COUNT + F4_ADD_COUNT - 1]; 45 45 int index = 0; 46 46 mutation_method_names[index++] = "added division"; -
cpp/frams/genetics/oper_fx.h
r197 r199 82 82 Param par; 83 83 char supported_format; ///<genotype format which is supported by this class ('6' for GenoOper_f6, 'F' for GenoOper_fF, etc.). Must be initialized in constructor 84 SString name; ///<name of this set of genetic operators85 c har **mutation_method_names; ///<array of names for mutation methods. If initialized (by new char*[]), must have entries for each method index returned by mutate(geno,chg,METHOD). If initialized, it is automatically freed by this destructor.84 string name; ///<name of this set of genetic operators 85 const char **mutation_method_names; ///<array of names for mutation methods. If initialized (by new char*[]), must have entries for each method index returned by mutate(geno,chg,METHOD). If initialized, it is automatically freed by this destructor. 86 86 GenoOperators() : par(empty_paramtab) {supported_format='x'; name="Default"; mutation_method_names=NULL; setDefaults();} 87 87
Note: See TracChangeset
for help on using the changeset viewer.