Ignore:
Timestamp:
06/30/20 00:32:56 (8 days ago)
Author:
Maciej Komosinski
Message:

fS: preserved volume during shape-type changes

File:
1 edited

Legend:

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

    r958 r969  
    1515#define FS_REM_PART 1
    1616#define FS_MOD_PART 2
    17 #define FS_ADD_JOINT 3
    18 #define FS_REM_JOINT 4
    19 #define FS_ADD_PARAM 5
    20 #define FS_REM_PARAM 6
    21 #define FS_MOD_PARAM 7
    22 #define FS_MOD_MOD 8
    23 #define FS_ADD_NEURO 9
    24 #define FS_REM_NEURO 10
    25 #define FS_MOD_NEURO_CONNECTION 11
    26 #define FS_ADD_NEURO_CONNECTION 12
    27 #define FS_REM_NEURO_CONNECTION 13
    28 #define FS_MOD_NEURO_PARAMS 14
    29 #define FS_OPCOUNT 15
     17#define FS_CHANGE_JOINT 3
     18#define FS_ADD_PARAM 4
     19#define FS_REM_PARAM 5
     20#define FS_MOD_PARAM 6
     21#define FS_MOD_MOD 7
     22#define FS_ADD_NEURO 8
     23#define FS_REM_NEURO 9
     24#define FS_MOD_NEURO_CONNECTION 10
     25#define FS_ADD_NEURO_CONNECTION 11
     26#define FS_REM_NEURO_CONNECTION 12
     27#define FS_MOD_NEURO_PARAMS 13
     28#define FS_OPCOUNT 14
    3029//@}
    3130
     
    9089
    9190        /**
    92          * Performs add joint mutation on genotype
     91         * Changes the type of one joint in genotype
    9392         * @return true if mutation succeeded, false otherwise
    9493         */
    95         bool addJoint(fS_Genotype &geno);
    96 
    97         /**
    98          * Performs remove mutation on genotype
    99          * @return true if mutation succeeded, false otherwise
    100          */
    101         bool removeJoint(fS_Genotype &geno);
     94        bool changeJoint(fS_Genotype &geno);
    10295
    10396        /**
Note: See TracChangeset for help on using the changeset viewer.