X-Git-Url: http://plrg.eecs.uci.edu/git/?p=satune.git;a=blobdiff_plain;f=src%2FTuner%2Fsearchtuner.h;fp=src%2FTuner%2Fsearchtuner.h;h=1464849e520f2b905a1627071af6760f3f7ea23c;hp=20edb7d8537e0a27fc10bb9ae979785ec9fa9a64;hb=7ce425ac7ed2ff3b348d1d8be37df8a5e3db21f2;hpb=31bd7858d14dc5131a285a6a683ee89800374852 diff --git a/src/Tuner/searchtuner.h b/src/Tuner/searchtuner.h index 20edb7d..1464849 100644 --- a/src/Tuner/searchtuner.h +++ b/src/Tuner/searchtuner.h @@ -7,6 +7,7 @@ class TunableSetting { public: TunableSetting(VarType type, TunableParam param); + TunableSetting(VarType type1, VarType type2, TunableParam param); TunableSetting(TunableParam param); TunableSetting(TunableSetting *ts); void setDecision(int _low, int _high, int _default, int _selection); @@ -14,7 +15,8 @@ public: CMEMALLOC; private: bool hasVar; - VarType type; + VarType type1; + VarType type2; TunableParam param; int lowValue; int highValue; @@ -37,6 +39,7 @@ public: ~SearchTuner(); int getTunable(TunableParam param, TunableDesc *descriptor); int getVarTunable(VarType vartype, TunableParam param, TunableDesc *descriptor); + int getVarTunable(VarType vartype1, VarType vartype2, TunableParam param, TunableDesc *descriptor); SearchTuner *copyUsed(); void randomMutate(); uint getSize() { return usedSettings.getSize();}