|
@@ -11,7 +11,6 @@
|
|
#define NB_HEURISTIC 7
|
|
#define NB_HEURISTIC 7
|
|
#define MT_AVG 0
|
|
#define MT_AVG 0
|
|
#define MT_EPS 1
|
|
#define MT_EPS 1
|
|
-#define MT_EMA 2
|
|
|
|
|
|
|
|
/* --- Structure --- */
|
|
/* --- Structure --- */
|
|
typedef struct {
|
|
typedef struct {
|
|
@@ -23,7 +22,7 @@ class ControlBandit {
|
|
public:
|
|
public:
|
|
ControlBandit();
|
|
ControlBandit();
|
|
~ControlBandit();
|
|
~ControlBandit();
|
|
-
|
|
|
|
|
|
+
|
|
void setMethod(int);
|
|
void setMethod(int);
|
|
void setEpsilon(double);
|
|
void setEpsilon(double);
|
|
|
|
|
|
@@ -47,7 +46,6 @@ class ControlBandit {
|
|
|
|
|
|
fillAndHeuristic methodAvg();
|
|
fillAndHeuristic methodAvg();
|
|
fillAndHeuristic methodEps();
|
|
fillAndHeuristic methodEps();
|
|
- fillAndHeuristic methodEma();
|
|
|
|
|
|
|
|
int getBestFill();
|
|
int getBestFill();
|
|
int getBestHeuristic();
|
|
int getBestHeuristic();
|