Changeset 35 for cpp/f8-to-f1/geno_f8.cpp
- Timestamp:
- 10/31/09 14:44:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/f8-to-f1/geno_f8.cpp
r34 r35 50 50 } 51 51 52 Geno_f8::Geno_f8() { 52 Geno_f8::Geno_f8() 53 { 53 54 supported_format = '8'; 54 this->simpleCommandLetters.push_back('X'); 55 this->simpleCommandLetters.push_back('R'); 56 this->simpleCommandLetters.push_back('r'); 57 this->simpleCommandLetters.push_back('C'); 58 this->simpleCommandLetters.push_back('c'); 59 this->simpleCommandLetters.push_back('Q'); 60 this->simpleCommandLetters.push_back('q'); 61 this->simpleCommandLetters.push_back('['); 62 this->simpleCommandLetters.push_back(']'); 63 this->simpleCommandLetters.push_back('^'); 55 56 for(int i=0;i<strlen(GenoConv_F8ToF1::simpleprods);i++) 57 this->simpleCommandLetters.push_back(GenoConv_F8ToF1::simpleprods[i]); 58 64 59 this->converter = new GenoConv_F8ToF1(); 65 60 … … 301 296 SString Geno_f8::mutateChangeArg(SString &in, float& chg) { 302 297 SString mutated; 303 298 304 299 Lsystem *newLsystem = this->converter->createLsystem(in); 305 300 if (newLsystem == NULL) { … … 1087 1082 1088 1083 #if GENO_F8_DEBUG > 0 1089 string mutationName = (method == 0) ? "F8_CHANGE_BEGINNING_ARG" : 1084 string mutationName = (method == 0) ? "F8_CHANGE_BEGINNING_ARG" : //TODO use mutation_method_names[] here 1090 1085 (method == 1) ? "F8_CHANGE_ARG" : 1091 1086 (method == 2) ? "F8_DELETE_COMMAND" :
Note: See TracChangeset
for help on using the changeset viewer.