Crate mcts_lib

Crate mcts_lib 

Source
Expand description

A small and simple library for Monte Carlo tree search.

This library provides a generic implementation of the Monte Carlo Tree Search (MCTS) algorithm. MCTS is a heuristic search algorithm used in decision-making processes, most notably in game AI. The library is designed to be flexible and adaptable to various turn-based games.

Modulesยง

board
Contains the Board trait and related enums that define the interface for a game.
boards
Contains pre-made implementations of the Board trait for common games. Contains pre-made implementations of the Board trait for common games.
mcts
The core module of the library, containing the MonteCarloTreeSearch implementation.
mcts_node
Contains the MctsNode struct, which represents a node in the search tree.
random
Contains traits and implementations for random number generation.