// This file is a part of the Framsticks GDK. // Copyright (C) 2002-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. // Refer to http://www.framsticks.com/ for further information. #ifndef _GENOOPER_FF_H_ #define _GENOOPER_FF_H_ #include "../oper_fx.h" class GenoOper_fF : public GenoOperators { public: GenoOper_fF(); int checkValidity(const char *); int validate(char *&); int mutate(char *&g, float& chg, int &method); int crossOver(char *&g1, char *&g2, float& chg1, float& chg2); unsigned long style(const char *g, int pos); const char* getSimplest() { return "6,0.8,0.85,0.9,0.6,0.3,0.7"; } double xover_proportion; }; #endif