Changeset 968 for cpp/frams/genetics/f4
- Timestamp:
- 06/30/20 00:30:39 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/f4_oper.cpp
r967 r968 451 451 } 452 452 // weight 453 nn->f1 = GenoOperators::getMutatedNeuro ClassProperty(nn->f1, NULL, -1);453 nn->f1 = GenoOperators::getMutatedNeuronConnectionWeight(nn->f1); 454 454 //nn->f1 = 10.0f * (rndDouble(1) - 0.5f); 455 455 } … … 488 488 break; 489 489 case 2: // change weight 490 nn->f1 = GenoOperators::getMutatedNeuro ClassProperty(nn->f1, NULL, -1);490 nn->f1 = GenoOperators::getMutatedNeuronConnectionWeight(nn->f1); 491 491 //nn->f1 += 1.0f * (rndDouble(1) - 0.5f); 492 492 break;
Note: See TracChangeset
for help on using the changeset viewer.