Changeset 247 for cpp/frams/genetics/fF
- Timestamp:
- 11/07/14 17:51:01 (10 years ago)
- Location:
- cpp/frams/genetics/fF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fF/oper_fF.cpp
r197 r247 89 89 90 90 ///Applying some colors and font styles... 91 u nsigned longGenoOper_fF::style(const char *g, int pos)91 uint32_t GenoOper_fF::style(const char *g, int pos) 92 92 { 93 93 char ch = g[pos]; 94 u nsigned longstyle = GENSTYLE_CS(0, GENSTYLE_INVALID); //default, should be changed below94 uint32_t style = GENSTYLE_CS(0, GENSTYLE_INVALID); //default, should be changed below 95 95 if (strchr("-.e 0123456789", ch) != NULL) 96 96 style = GENSTYLE_CS(GENCOLOR_NUMBER, GENSTYLE_NONE); -
cpp/frams/genetics/fF/oper_fF.h
r197 r247 17 17 int mutate(char *&g, float& chg, int &method); 18 18 int crossOver(char *&g1, char *&g2, float& chg1, float& chg2); 19 u nsigned longstyle(const char *g, int pos);19 uint32_t style(const char *g, int pos); 20 20 const char* getSimplest() { return "6, 1.05, 1.05, 1.05, 0, 0, 0"; } 21 21
Note: See TracChangeset
for help on using the changeset viewer.