Changeset 247 for cpp/frams/genetics/f9
- Timestamp:
- 11/07/14 17:51:01 (10 years ago)
- Location:
- cpp/frams/genetics/f9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f9/oper_f9.cpp
r197 r247 109 109 110 110 ///Applying some colors and font styles... 111 u nsigned longGenoOper_f9::style(const char *g, int pos)111 uint32_t GenoOper_f9::style(const char *g, int pos) 112 112 { 113 113 char ch = g[pos]; 114 u nsigned longstyle = GENSTYLE_CS(0, GENSTYLE_INVALID); //default, should be changed below114 uint32_t style = GENSTYLE_CS(0, GENSTYLE_INVALID); //default, should be changed below 115 115 char *ptr = strchr((char*)turtle_commands_f9, ch); 116 116 if (ptr) -
cpp/frams/genetics/f9/oper_f9.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 "R";} 21 21
Note: See TracChangeset
for help on using the changeset viewer.