Changeset 957 for cpp/frams/genetics/fH
- Timestamp:
- 06/25/20 16:31:25 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fH/fH_oper.cpp
r935 r957 390 390 // if it is weight, then method needs to use mutateNeuProperty 391 391 double current = par.getDouble(id); 392 par.setDouble(id, mutateNeu Property(current, NULL, -1));392 par.setDouble(id, mutateNeuronProperty(current, NULL, -1)); 393 393 } 394 394 } … … 439 439 if (*par.type(i) == 'f') 440 440 { 441 double change = mutateNeu Property(par.getDouble(i), &neu, 100+ i);441 double change = mutateNeuronProperty(par.getDouble(i), &neu, GenoOperators::NEUROCLASS_PROP_OFFSET + i); 442 442 par.setDouble(i, change); 443 443 } … … 467 467 { 468 468 nc = getRandomNeuroClass(Model::SHAPE_BALL_AND_STICK); 469 // checking of neuron class availability should be checkedbefore469 // checking of neuron class availability should be done before 470 470 } 471 471
Note: See TracChangeset
for help on using the changeset viewer.