Changeset 967 for cpp/frams/genetics/f4


Ignore:
Timestamp:
06/28/20 23:33:17 (4 years ago)
Author:
Maciej Komosinski
Message:

Improved names of functions that mutate neuron properties and improved docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f4/f4_oper.cpp

    r957 r967  
    451451        }
    452452        // weight
    453         nn->f1 = GenoOperators::mutateNeuronProperty(nn->f1, NULL, -1);
     453        nn->f1 = GenoOperators::getMutatedNeuroClassProperty(nn->f1, NULL, -1);
    454454        //nn->f1 = 10.0f * (rndDouble(1) - 0.5f);
    455455}
     
    488488                break;
    489489        case 2: // change weight
    490                 nn->f1 = GenoOperators::mutateNeuronProperty(nn->f1, NULL, -1);
     490                nn->f1 = GenoOperators::getMutatedNeuroClassProperty(nn->f1, NULL, -1);
    491491                //nn->f1 += 1.0f * (rndDouble(1) - 0.5f);
    492492                break;
Note: See TracChangeset for help on using the changeset viewer.