Ignore:
Timestamp:
07/13/20 13:53:25 (4 years ago)
Author:
Maciej Komosinski
Message:

Improved the fS encoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fS/fS_oper.h

    r969 r1000  
    7474         * @return true if mutation succeeded, false otherwise
    7575         */
    76         bool addPart(fS_Genotype &geno, string availableTypes = "ECR", bool mutateSize = true);
     76        bool addPart(fS_Genotype &geno, const vector<Part::Shape> &availablePartShapes, bool mutateSize = true);
    7777
    7878        /**
     
    8686         * @return true if mutation succeeded, false otherwise
    8787         */
    88         bool changePartType(fS_Genotype &geno, string availableTypes = "ECR");
     88        bool changePartType(fS_Genotype &geno, const vector<Part::Shape> &availablePartShapes);
    8989
    9090        /**
Note: See TracChangeset for help on using the changeset viewer.