unnecessary prints
This commit is contained in:
parent
881c609f74
commit
91e6af8998
1 changed files with 2 additions and 6 deletions
|
@ -254,20 +254,16 @@ bt_move_t bt_t::get_mcts_move(double max_time) {
|
||||||
// MCTS
|
// MCTS
|
||||||
while (elapsed.count() < max_time) {
|
while (elapsed.count() < max_time) {
|
||||||
// Selection
|
// Selection
|
||||||
auto xd = b_copy.mcts_selection(tree);
|
auto selected = b_copy.mcts_selection(tree);
|
||||||
std::cerr << "selection\n";
|
|
||||||
|
|
||||||
// Expansion
|
// Expansion
|
||||||
// mcts_expansion(selected);
|
b_copy.mcts_expansion(selected);
|
||||||
std::cerr << "expansion\n";
|
|
||||||
|
|
||||||
// Simulation
|
// Simulation
|
||||||
// bool is_win = mcts_simulation(selected);
|
// bool is_win = mcts_simulation(selected);
|
||||||
std::cerr << "simulation\n";
|
|
||||||
|
|
||||||
// Update
|
// Update
|
||||||
// mcts_back_propagation(selected, is_win);
|
// mcts_back_propagation(selected, is_win);
|
||||||
std::cerr << "update\n";
|
|
||||||
|
|
||||||
// Time constraint
|
// Time constraint
|
||||||
elapsed = std::chrono::steady_clock::now() - now;
|
elapsed = std::chrono::steady_clock::now() - now;
|
||||||
|
|
Reference in a new issue