game-tree-search 0.2.2

Adversarial game-tree search for computer opponents in board, card and turn-based games: minimax, negamax, alpha-beta, principal variation search, MTD(f), iterative deepening with transposition tables, expectimax and Monte Carlo tree search
Documentation
1
2
3
4
5
6
7
8
9
10
//! The atomics the lock-free [`PackedTable`](super::PackedTable) is built on: the core ones,
//! or loom's under `cfg(loom)`, so the loom tests can explore every interleaving of them.
//!
//! loom is a dev-dependency, so `--cfg loom` builds only the tests (`task test:loom`).

#[cfg(loom)]
pub(crate) use loom::sync::atomic::{AtomicU64, Ordering};

#[cfg(not(loom))]
pub(crate) use core::sync::atomic::{AtomicU64, Ordering};