Changeset 967 for cpp/frams/genetics/fH


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/fH/fH_oper.cpp

    r960 r967  
    390390                        // if it is weight, then method needs to use mutateNeuProperty
    391391                        double current = par.getDouble(id);
    392                         par.setDouble(id, mutateNeuronProperty(current, NULL, -1));
     392                        par.setDouble(id, getMutatedNeuroClassProperty(current, NULL, -1));
    393393                }
    394394        }
     
    430430        Neuro neu;
    431431        neu.setDetails(det == "" ? "N" : det);
    432         GenoOperators::mutateRandomNeuronOrNeuroclassProperty(&neu);
     432        GenoOperators::mutateRandomNeuroClassProperty(&neu);
    433433        det = neu.getDetails();
    434434}
Note: See TracChangeset for help on using the changeset viewer.