Changeset 33 for cpp/f8-to-f1/conv_f8tof1.cpp
- Timestamp:
- 10/31/09 00:47:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/f8-to-f1/conv_f8tof1.cpp
r32 r33 172 172 } 173 173 if (neurons) { 174 for (vector<NeuronProduction*>::iterator iter = this->neuronProductions.begin(); 174 for (vector<NeuronProduction*>::iterator iter = this->neuronProductions.begin(); 175 175 iter != this->neuronProductions.end(); iter++) { 176 176 actions.push_back(*iter); … … 283 283 string sname = sstringToString(name); 284 284 if (position == -1) { 285 this->parameters.push_back(sname); 285 this->parameters.push_back(sname); 286 286 this->paramValues[sname] = value; 287 287 } else { … … 516 516 } 517 517 518 519 520 521 522 523 524 525 526 #define FIELDSTRUCT GenoConv_F8ToF1 527 528 static ParamEntry GENOCONVf8param_tab[]= 529 { 530 {"Genetics: f8: limits",1,1,}, 531 {"f8conv_maxlen", 0, 0, "Maximal genotype length", "d 10 10000 500", FIELD(maxF1Length),"Maximal length of the resulting f1 genotype, in characters. If the f8 L-system produces longer f1 genotype, it will be considered incorrect.", }, 532 {0,}, 533 }; 534 535 #undef FIELDSTRUCT 536 537 GenoConv_F8ToF1::GenoConv_F8ToF1() 538 { 539 name = "f8 converter"; 540 in_format = '8'; 541 out_format = '1'; 542 mapsupport = 0; 543 info = "Generative encoding"; 544 maxF1Length = 500; 545 par.setParamTab(GENOCONVf8param_tab); 546 par.select(this); 547 par.setDefault(); 548 } 549 550 518 551 vector<SString> GenoConv_F8ToF1::readProductionNames(const SString &in) { 519 552 vector<SString> names; … … 764 797 } 765 798 #undef CONV_DEBUG 799
Note: See TracChangeset
for help on using the changeset viewer.