Last change
on this file since 247 was
247,
checked in by Maciej Komosinski, 10 years ago
|
Sources support both 32-bit and 64-bit, and more compilers
|
-
Property svn:eol-style set to
native
|
File size:
671 bytes
|
Rev | Line | |
---|
[140] | 1 | // This file is a part of the Framsticks GDK. |
---|
[197] | 2 | // Copyright (C) 1999-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. |
---|
[140] | 3 | // Refer to http://www.framsticks.com/ for further information. |
---|
| 4 | |
---|
| 5 | #ifndef _GENOOPER_FF_H_ |
---|
| 6 | #define _GENOOPER_FF_H_ |
---|
| 7 | |
---|
| 8 | #include "../oper_fx.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | class GenoOper_fF : public GenoOperators |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | GenoOper_fF(); |
---|
| 15 | int checkValidity(const char *); |
---|
| 16 | int validate(char *&); |
---|
| 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); |
---|
[176] | 20 | const char* getSimplest() { return "6, 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.