Changeset 967 for cpp/frams/genetics/fS


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/fS/fS_oper.cpp

    r958 r967  
    607607                        advance(it, rndUint(inputCount));
    608608
    609                         it->second = GenoOperators::mutateNeuronProperty(it->second, selectedNeuron, -1);
     609                        it->second = GenoOperators::getMutatedNeuroClassProperty(it->second, selectedNeuron, -1);
    610610                        return true;
    611611                }
     
    680680                if (*par.type(i) == 'f')
    681681                {
    682                         double change = GenoOperators::mutateNeuronProperty(par.getDouble(i), neu, GenoOperators::NEUROCLASS_PROP_OFFSET + i);
     682                        double change = GenoOperators::getMutatedNeuroClassProperty(par.getDouble(i), neu, GenoOperators::NEUROCLASS_PROP_OFFSET + i);
    683683                        par.setDouble(i, change);
    684684                }
Note: See TracChangeset for help on using the changeset viewer.