Last change
on this file since 1030 was
779,
checked in by Maciej Komosinski, 7 years ago
|
Unified file names of all files involved in genetic conversions and operations so that they start with "f<format>_"
|
-
Property svn:eol-style set to
native
|
File size:
690 bytes
|
Rev | Line | |
---|
[286] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
[667] | 2 | // Copyright (C) 1999-2017 Maciej Komosinski and Szymon Ulatowski. |
---|
[286] | 3 | // See LICENSE.txt for details. |
---|
[140] | 4 | |
---|
[779] | 5 | #ifndef _FF_OPER_H_ |
---|
| 6 | #define _FF_OPER_H_ |
---|
[140] | 7 | |
---|
[779] | 8 | #include "../genooperators.h" |
---|
[140] | 9 | |
---|
| 10 | |
---|
| 11 | class GenoOper_fF : public GenoOperators |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | GenoOper_fF(); |
---|
[513] | 15 | int checkValidity(const char *, const char *genoname); |
---|
| 16 | int validate(char *&, const char *genoname); |
---|
[140] | 17 | int mutate(char *&g, float& chg, int &method); |
---|
| 18 | int crossOver(char *&g1, char *&g2, float& chg1, float& chg2); |
---|
[247] | 19 | uint32_t style(const char *g, int pos); |
---|
[669] | 20 | const char* getSimplest() { return "6, 0.1, 0.1, 0.1, 1.05, 1.05, 1.05, 0, 0, 0"; } |
---|
[140] | 21 | |
---|
[145] | 22 | double xover_proportion; |
---|
[140] | 23 | }; |
---|
| 24 | |
---|
| 25 | #endif |
---|
[176] | 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.