Changeset 955 for cpp/frams/genetics/genman.h
- Timestamp:
- 06/25/20 00:34:29 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/genman.h
r779 r955 52 52 string HTMLize(const char *g); //returns colored genotype in HTML. 53 53 string HTMLizeShort(const char *g); //returns colored genotype (abbreviated if needed) in HTML. 54 Geno getSimplest(c harformat); ///<returns pointer to the simplest genotype of \e format or empty Geno()55 const char *getOpName(c harformat); ///<returns pointer to the active operator set for \e format54 Geno getSimplest(const SString& format); ///<returns pointer to the simplest genotype of \e format or empty Geno() 55 const char *getOpName(const SString& format); ///<returns pointer to the active operator set for \e format 56 56 const vector<GenoOperators*>& GetOperators() const { return oper_fx_list; } ///<returns the list of available genetic operators 57 57 private: 58 58 vector<GenoOperators*> oper_fx_list; 59 59 void saveLink(const string parent1, const string parent2, const string child, const float chg); 60 GenoOperators* getOper_f(c harformat);60 GenoOperators* getOper_f(const SString& format); 61 61 string HTMLize(const char *g, bool shorten); 62 int findOperFormatIndex(const SString& format); 62 63 public: 63 64 vector<GenoLink> GenoLinkList; … … 68 69 int valid_m, valid_xo, validated_m, validated_xo, invalid_m, invalid_xo, failed_m, failed_xo; 69 70 double mutchg, xochg; 70 SListTempl< char> operformats; //the list of supported_format, in the same order as in seloperpar71 SListTempl<SString*> operformats; //the list of supported_format, in the same order as in seloperpar (raw SString* taken from oper_fx_list, not owned by operformats) 71 72 int* seloper; //fields for seloperpar 72 73 Param localpar, localstats;
Note: See TracChangeset
for help on using the changeset viewer.