1 #ifndef __LEARNING_ENEMY_H__
2 #define __LEARNING_ENEMY_H__
4 #include "MinimaxEnemy.h"
10 class LearningEnemy
: public MinimaxEnemy
13 LearningEnemy(bool player
, int minimaxDepth
): MinimaxEnemy(player
, minimaxDepth
) {}
15 LearningEnemy
* createSon();
16 LearningEnemy
* createSon(LearningEnemy enemy
);
17 unsigned int vitorias
;
18 unsigned int derrotas
;
19 unsigned int rodadaVitorias
;
20 unsigned int rodadaDerrotas
;
22 int d_int
[STEPS
][VAR_INT
]; // Derivada nos últimos passos
24 double d_dou
[STEPS
][VAR_DOU
]; // Derivada nos últimos passos
25 int heuristica(Board board
, bool player
);
27 double distCentro(Board board
, bool player
);
28 double distEntreSiMan(Board board
, bool player
);
29 double distEntreSiEuc(Board board
, bool player
);
30 double cubicPolynome(Board board
, bool player
);