Ignore:
Timestamp:
06/25/20 00:34:29 (4 years ago)
Author:
Maciej Komosinski
Message:

Genetic format ID becomes a string (no longer limited to a single character)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/genomanipulation.cpp

    r896 r955  
    258258        if (gc) printf("found converter accepting f1: \"%s\"\n", gc->name);
    259259        SListTempl<GenoConverter*> found;
    260         Geno::getConverters()->findConverters(&found, -1, '0');
     260        Geno::getConverters()->findConverters(&found, Geno::UNKNOWN_FORMAT, '0');
    261261        printf("found %d converter(s) producing f0\n", found.size());
    262262}
     
    281281        Geno g(gen);
    282282        printf("\nSource genotype: '%s'\n", g.getGenes().c_str());
    283         printf("                  ( format %c %s)\n",
    284                 g.getFormat(), g.getComment().c_str());
     283        printf("                  ( format %s %s)\n",
     284                g.getFormat().c_str(), g.getComment().c_str());
    285285
    286286        Model m(g);//.getConverted('0'));
Note: See TracChangeset for help on using the changeset viewer.