Ignore:
Timestamp:
11/30/19 01:30:22 (4 years ago)
Author:
Maciej Komosinski
Message:

Replaced #defined macros for popular random-related operations with functions

File:
1 edited

Legend:

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

    r853 r896  
    12101210        int n = count();
    12111211        // pick a random node, between 0 and n-1
    1212         return ordNode(randomN(n));
     1212        return ordNode(rndUint(n));
    12131213}
    12141214
     
    13551355{
    13561356        int i, j, res, t;
    1357         char tc1, tc2, tc3; // tc3 is only to ensure that in the end  of neuron parameter definition
     1357        char tc1, tc2, tc3; // tc3 is only to ensure that neuron parameter definition is completed
    13581358        int relfrom;
    13591359        double w;
Note: See TracChangeset for help on using the changeset viewer.