Ignore:
Timestamp:
06/07/18 17:41:59 (3 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.cpp

    r797 r802  
    170170}
    171171
    172 bool GenoConv_fBH::getNextCharId(SString genotype, int &i)
     172bool GenoConv_fBH::getNextCharId(const SString& genotype, int &i)
    173173{
    174174        i++;
     
    191191}
    192192
    193 bool GenoConv_fBH::getNeuroClass(SString gene, SString &def, int nclassdefcount)
     193bool GenoConv_fBH::getNeuroClass(const SString& gene, SString &def, int nclassdefcount)
    194194{
    195195        SString lastdef = "N";
     
    218218}
    219219
    220 int GenoConv_fBH::processNextLetter(fH_Builder &creature, fH_Handle *&currhandle, Param &par, SString gene, int &propindex, int &i, std::vector<IRange> ranges[3], int &nclassdefcount)
     220int GenoConv_fBH::processNextLetter(fH_Builder &creature, fH_Handle *&currhandle, Param &par, const SString& gene, int &propindex, int &i, std::vector<IRange> ranges[3], int &nclassdefcount)
    221221{
    222222        if (propindex >= par.getPropCount())
Note: See TracChangeset for help on using the changeset viewer.