Skip to content
Snippets Groups Projects
Commit a574935e authored by Felton Samuel's avatar Felton Samuel
Browse files

Zone heuristic added to config

parent 69f5ff4c
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
#include "number_direction_freedom_heuristic.hpp"
#include "points_heuristic.hpp"
#include "go_left_up_heuristic.hpp"
#include "zone_heuristic.hpp"
namespace game {
......@@ -88,6 +89,8 @@ namespace game {
*h = new mcts::points_heuristic();
}else if(value == "movement_freedom") {
*h = new mcts::movement_freedom_heuristic();
}else if(value == "zone") {
*h = new mcts::zone_heuristic();
}else if(value == "default") {
*h = new mcts::penguin_heuristic();
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment