Changeset 1273 for cpp/frams/genetics/genooperators.h
- Timestamp:
- 09/09/23 15:10:49 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/genooperators.h
r1254 r1273 164 164 virtual const char* getSimplest() { return NULL; } 165 165 166 /**You may want to have your genotype colored. This method provides desired character styles for genes. 166 /**Provides color styles for individual characters of the genotype. For efficiency, 167 this function may be approximate and do not perform the full, proper analysis of the syntax. 167 168 \param geno genotype 168 169 \param pos 0-based char offset 169 \retval number-encoded visual style (and validity) of the genotype char at \a geno[pos]. 170 Assume white background. 170 \retval number-encoded visual style (and validity) of the genotype char at \a geno[pos]. Assume white background. 171 171 \sa GENSTYLE_* macros, like GENSTYLE_BOLD*/ 172 172 virtual uint32_t style(const char *geno, int pos) { return GENSTYLE_RGBS(0, 0, 0, GENSTYLE_NONE); }
Note: See TracChangeset
for help on using the changeset viewer.