Ignore:
Timestamp:
05/23/16 13:52:53 (8 years ago)
Author:
Maciej Komosinski
Message:

checkValidity() and validate() are now aware of genotype name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f9/oper_f9.h

    r286 r513  
    1313public:
    1414        GenoOper_f9();
    15         int checkValidity(const char *);
    16         int validate(char *&);
    17         int mutate(char *&g,float& chg,int &method);
    18         int crossOver(char *&g1,char *&g2,float& chg1,float& chg2);
     15        int checkValidity(const char *, const char *genoname);
     16        int validate(char *&, const char *genoname);
     17        int mutate(char *&g, float& chg, int &method);
     18        int crossOver(char *&g1, char *&g2, float& chg1, float& chg2);
    1919        uint32_t style(const char *g, int pos);
    20         const char* getSimplest() {return "R";}
     20        const char* getSimplest() { return "R"; }
    2121
    2222        double mut_prob; //mutation probability
Note: See TracChangeset for help on using the changeset viewer.