Changeset 803 for cpp/frams/genetics/fH
- Timestamp:
- 06/07/18 17:42:49 (6 years ago)
- Location:
- cpp/frams/genetics/fH
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fH/fH_general.cpp
r797 r803 189 189 } 190 190 191 int fH_Builder::parseGenotype( SStringgenotype)191 int fH_Builder::parseGenotype(const SString &genotype) 192 192 { 193 193 // Firstly, number of dimensions is parsed -
cpp/frams/genetics/fH/fH_general.h
r797 r803 408 408 * @return 0 if processing was successful, 1 if parsing of dimensions went wrong or one of genotype lines could not be parsed 409 409 */ 410 int parseGenotype( SStringgenotype);410 int parseGenotype(const SString &genotype); 411 411 412 412 /** -
cpp/frams/genetics/fH/fH_oper.cpp
r797 r803 255 255 fH_Handle *handle = NULL; 256 256 method = FH_OPCOUNT + roulette(addoperations, FH_ADD_OPCOUNT); 257 if (getActiveNeuroClassCount() == 0) method = FH_OPCOUNT + FH_ADD_STICK; 257 258 switch (method - FH_OPCOUNT) 258 259 { … … 466 467 { 467 468 nc = getRandomNeuroClass(); 468 if (!nc) nc = Neuro::getClass("N");469 // checking of neuron class availability should be checked before 469 470 } 470 471
Note: See TracChangeset
for help on using the changeset viewer.