unnecessary prints

This commit is contained in:
Mylloon 2023-03-29 18:05:20 +02:00
parent 881c609f74
commit 91e6af8998
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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;