mcts_lib/
lib.rs

1//! A small and simple library for Monte Carlo tree search.
2//!
3//! This library provides a generic implementation of the Monte Carlo Tree Search (MCTS) algorithm.
4//! MCTS is a heuristic search algorithm used in decision-making processes, most notably in game AI.
5//! The library is designed to be flexible and adaptable to various turn-based games.
6
7/// Contains the `Board` trait and related enums that define the interface for a game.
8pub mod board;
9/// Contains pre-made implementations of the `Board` trait for common games.
10pub mod boards;
11/// The core module of the library, containing the `MonteCarloTreeSearch` implementation.
12pub mod mcts;
13/// Contains the `MctsNode` struct, which represents a node in the search tree.
14pub mod mcts_node;
15/// Contains traits and implementations for random number generation.
16pub mod random;