Ignore:
Timestamp:
10/01/21 22:52:19 (3 years ago)
Author:
Maciej Komosinski
Message:

Improved f9 mutation

File:
1 edited

Legend:

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

    r779 r1157  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2021  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    2020        const char* getSimplest() { return "R"; }
    2121
     22        void mutate_replace(char *gene, int i); //helper for mutate()
     23        void mutate_add_or_del(char *& gene, int len, int add_0_del_1); //helper for mutate()
     24
    2225        double mut_prob; //mutation probability
    2326};
Note: See TracChangeset for help on using the changeset viewer.