Ignore:
Timestamp:
05/02/23 17:12:24 (12 months ago)
Author:
Maciej Komosinski
Message:

The validate() function may now attempt to repair genotypes without syntax errors (i.e., fully parsed into a correct f4_Node tree), but with semantic errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f4/f4_general.h

    r1231 r1232  
    303303         * Sets the element of genotype to be repaired by removal.
    304304         * @param nerrpos position of an error in genotype
    305          * @param rem the f4_Node to be removed from the genotype tree in order to repair
    306          */
    307         void setRepairRemove(int nerrpos, f4_Node *rem);
     305         * @param to_remove the f4_Node to be removed from the genotype tree in order to repair
     306         */
     307        void setRepairRemove(int nerrpos, f4_Node *to_remove);
    308308
    309309        /**
     
    311311         * @param nerrpos position of an error in genotype
    312312         * @param parent the parent of a new element
    313          * @param insert the element to be inserted
     313         * @param to_insert the element to be inserted
    314314         * @return 0 if repair can be performed, or -1 otherwise because the repair flag wasn't set in the constructor
    315315         */
    316         int setRepairInsert(int nerrpos, f4_Node *parent, f4_Node *insert);
     316        int setRepairInsert(int nerrpos, f4_Node *parent, f4_Node *to_insert);
    317317
    318318        /**
Note: See TracChangeset for help on using the changeset viewer.