Changeset 145 for cpp/frams/genetics/genman.h
- Timestamp:
- 02/26/14 20:21:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/genman.h
r138 r145 7 7 8 8 #include <common/nonstd.h> 9 #include <common/nonstd_stl.h> 9 10 #include <frams/param/mutableparam.h> 10 11 #include <frams/param/mutparamlist.h> … … 12 13 #include "geno.h" 13 14 #include "oper_fx.h" 14 #include <string>15 #include <vector>16 15 17 16 #define GENSTYLE_COMMENT GENSTYLE_RGBS(0,150,0,GENSTYLE_BOLD) … … 20 19 { 21 20 int count; 22 st d::string g1, g2;21 string g1, g2; 23 22 float chg; 24 23 float fit; … … 53 52 Geno GetSimplest(char format); ///<returns pointer to the simplest genotype of \e format or empty Geno() 54 53 const char *GetOpName(char format); ///<returns pointer to the active operator set for \e format 54 const vector<GenoOperators*>& GetOperators() const { return oper_fx_list; } ///<returns the list of available genetic operators 55 55 private: 56 std::vector<GenoOperators*> geno_fx_list;57 void saveLink(st d::string prz, std::string pot, float& chg);58 GenoOperators* get Geno_f(char format);56 vector<GenoOperators*> oper_fx_list; 57 void saveLink(string prz, string pot, float& chg); 58 GenoOperators* getOper_f(char format); 59 59 SString HTMLize(const char *g, bool shorten); 60 60 public: 61 std::vector<GenoLink> GenoLinkList;61 vector<GenoLink> GenoLinkList; 62 62 int history; //remember history? 63 63 int hilite; //syntax highlighting (Style) … … 66 66 int valid_m, valid_xo, validated_m, validated_xo, invalid_m, invalid_xo, failed_m, failed_xo; 67 67 double mutchg, xochg; 68 SListTempl<char> operformats; //the list of supported_format, in the order sameas in seloperpar68 SListTempl<char> operformats; //the list of supported_format, in the same order as in seloperpar 69 69 int* seloper; //fields for seloperpar 70 70 Param localpar, localstats;
Note: See TracChangeset
for help on using the changeset viewer.