Changeset 513 for cpp/frams/genetics/oper_fx.h
- Timestamp:
- 05/23/16 13:52:53 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified cpp/frams/genetics/oper_fx.h ¶
r287 r513 92 92 /**Checks a genotype for minor mistakes and major errors. 93 93 \param geno genotype to be checked 94 \param genoname name of the genotype to be checked 94 95 \retval error_position 1-based (or 1 if no exact error position known) 95 96 \retval GENOPER_OK when the genotype is fully valid, and can be translated by the converter with \b no modifications nor tweaks*/ 96 virtual int checkValidity(const char *geno ) {return GENOPER_NOOPER;}97 virtual int checkValidity(const char *geno, const char *genoname) { return GENOPER_NOOPER; } 97 98 98 99 /**Validates a genotype. The purpose of this function is to validate … … 100 101 to introduce entirely new genes in place of an error. 101 102 \param geno input/output: genotype to be validated 103 \param genoname name of the genotype to be validated 102 104 \retval GENOPER_OK must be returned in any case ("did my best to validate")*/ 103 virtual int validate(char *&geno ) {return GENOPER_NOOPER;}105 virtual int validate(char *&geno, const char *genoname) { return GENOPER_NOOPER; } 104 106 105 107 /**Mutates a genotype. Mutation should always change something.
Note: See TracChangeset
for help on using the changeset viewer.