Ignore:
Timestamp:
06/07/18 17:41:59 (7 years ago)
Author:
Maciej Komosinski
Message:

Crossing over with less bloat, but still biologically-inspired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fB/fB_conv.h

    r797 r802  
    1212{
    1313private:
    14         bool getNextCharId(SString genotype, int &i);
     14        bool getNextCharId(const SString& genotype, int &i);
    1515        double convertCharacterTo01(char c);
    1616        double convertCharacterToWeight(char c);
    1717        static fH_Handle* convertCharacterToHandle(char c, int dims, int start, int end, std::vector<IRange> ranges[3]);
    18         int processNextLetter(fH_Builder &creature, fH_Handle *&currhandle, Param &par, SString gene, int &propindex, int &i, std::vector<IRange> ranges[3], int &nclassdefcount);
    19         bool getNeuroClass(SString gene, SString &def, int nclassdefcount);
     18        int processNextLetter(fH_Builder &creature, fH_Handle *&currhandle, Param &par, const SString& gene, int &propindex, int &i, std::vector<IRange> ranges[3], int &nclassdefcount);
     19        bool getNeuroClass(const SString& gene, SString &def, int nclassdefcount);
    2020
    2121public:
Note: See TracChangeset for help on using the changeset viewer.