9 #define LINK_NEGATIVE 1
22 paraq(int nprocs, int rank);
23 void addRange(const string& paraid, double min, double max, double step);
25 double& operator[] (string paraid);
26 void addRange(const string& paraid, double range[3]) { addRange(paraid, range[0], range[1], range[2]); }
27 void addRange(const string& paraid, char *range);
28 void setDefault(const string& paraid, double value) { defaultPara[paraid] = value; uniqueAllParaIdsAdd(paraid); }
30 void linkParas(const string& paraid1, const string ¶id2, int linktype=LINK_1TO1) {
33 tmpLink.first = paraid1;
34 tmpLink.second = paraid2;
35 tmpLink.linktype = linktype;
37 linkedParas.push_back( tmpLink );
38 //linkedParas.push_back( make_pair(paraid1,paraid2) );
42 vector<string> allParaIds;
43 string getParaNames();
49 map<string,double> defaultPara;
50 map< string, vector<double> > paraMap;
51 map< string, vector<double*> > rangeMap;
52 vector<paralink> linkedParas;
53 vector< map<string,double> > jobList;
55 bool inParas(vector<double>& paraVec, double& tofind);
57 bool jobListInitialized;
58 void uniqueAllParaIdsAdd(const string& paraid);
59 double linkTypeFunction (double linkval, int linktype);