Changeset 803 for cpp/frams/genetics/fH/fH_oper.cpp
- Timestamp:
- 06/07/18 17:42:49 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.