8 virtual int getTunable(TunableParam param, TunableDesc *descriptor);
9 virtual int getVarTunable(VarType vartype, TunableParam param, TunableDesc *descriptor);
14 class DefaultTuner : public Tuner {
17 int getTunable(TunableParam param, TunableDesc *descriptor);
18 int getVarTunable(VarType vartype, TunableParam param, TunableDesc *descriptor);
26 TunableDesc(int _lowValue, int _highValue, int _defaultValue) : lowValue(_lowValue), highValue(_highValue), defaultValue(_defaultValue) {}
34 #define GETTUNABLE(This, param, descriptor) This->getTunable(param, descriptor)
35 #define GETVARTUNABLE(This, vartype, param, descriptor) This->getTunable(param, descriptor)
37 static TunableDesc onoff(0, 1, 1);
38 static TunableDesc offon(0, 1, 0);
40 enum Tunables {DECOMPOSEORDER, MUSTREACHGLOBAL, MUSTREACHLOCAL, MUSTREACHPRUNE, OPTIMIZEORDERSTRUCTURE, ORDERINTEGERENCODING};
41 typedef enum Tunables Tunables;