Skip to content
Snippets Groups Projects
Commit 5250a535 authored by Salard Xavier's avatar Salard Xavier
Browse files

A few others changes to freedom direction movement heuristic

parent cba89c1c
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,8 @@ namespace mcts
for(uint8_t i=0; i< 4; i++) {
number_of_direction_after+= number_of_direction_penguin(penguins[i]);
}
std::cout << "number of direction : " << "("+std::to_string(number_of_direction_after)+" : " + std::to_string((number_of_direction_after - 12.0)/12.0)+")" <<std::endl;
//std::cout << "number of direction : " << "("+std::to_string(number_of_direction_after)+" : "
// + std::to_string((number_of_direction_after - 12.0)/12.0)+")" <<std::endl;
// Return a float between -1.0 and 1.0 related to the change of the number of direction in which you can play before and after the move
......
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