Exemple #1
0
def main():
    result = (MCTS(ConnectFourGame).get_simulation_result(1000,
                                                          get_leaf_nodes=True))
    flamegraph(result)
Exemple #2
0
def main():
    result = (MCTS(TicTacToeGame).get_simulation_result(1000,
                                                        get_leaf_nodes=True))
    flamegraph(result)
def main():
    result = (MCTS(TicTacToeGame)
              .get_simulation_result(1000, get_leaf_nodes=True))
    flamegraph(result)
def main():
    result = MCTS(ConnectFourGame).get_simulation_result(1000, get_leaf_nodes=True)
    flamegraph(result)
Exemple #5
0
def main():
    state = EuchreGame.initial_state(['ad', '0d', 'kd', '0s', '9s'], trump='d')
    result = (MCTS(EuchreGame, state)
              .get_simulation_result(1000, get_leaf_nodes=True))
    flamegraph(result)