Changeset 247 for cpp/frams/genetics/fT
- Timestamp:
- 11/07/14 17:51:01 (10 years ago)
- Location:
- cpp/frams/genetics/fT
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fT/oper_fTest.cpp
r194 r247 115 115 116 116 ///Applying some colors and font styles... 117 u nsigned longGenoOper_fTest::style(const char *g, int pos)117 uint32_t GenoOper_fTest::style(const char *g, int pos) 118 118 { 119 119 char ch = g[pos]; 120 u nsigned longstyle = GENSTYLE_CS(0, GENSTYLE_INVALID); //default, should be changed below120 uint32_t style = GENSTYLE_CS(0, GENSTYLE_INVALID); //default, should be changed below 121 121 if (ch == 'A') style = GENSTYLE_RGBS(200, 0, 0, GENSTYLE_BOLD); 122 122 if (ch == 'T') style = GENSTYLE_RGBS(0, 200, 0, GENSTYLE_BOLD); -
cpp/frams/genetics/fT/oper_fTest.h
r194 r247 29 29 int mutate(char *&geno, float& chg, int &method); 30 30 int crossOver(char *&g1, char *&g2, float& chg1, float& chg2); 31 u nsigned longstyle(const char *g, int pos);31 uint32_t style(const char *g, int pos); 32 32 const char* getSimplest() { return "GATCGATTACA"; } 33 33
Note: See TracChangeset
for help on using the changeset viewer.