Expand description
Uniform engine adapters with effective-work observations.
Port of benchmarks/adapters.py: every adapter selects a move through
the same timed, validated path and reports a MoveObservation whose
JSON field names match the Python dataclasses.asdict output exactly,
so result bundles stay schema-compatible.
Structs§
- Beam
Adapter - Beam search adapter.
- MCTS
Adapter - Monte Carlo tree search adapter.
- Minimax
Adapter - Alpha-beta iterative deepening adapter.
- Move
Observation - Effective work measured for one move selection. Serializes with the
exact field names of the Python
MoveObservationdataclass. - Random
Adapter - Uniform-random baseline adapter.
- RawMetrics
- Engine-specific metrics returned by
EngineAdapter::select_raw.
Traits§
- Engine
Adapter - Uniform interface over the benchmarked engines.
Functions§
- fixed_
time_ adapters - The fixed-time minimax, MCTS, and beam adapter family.
- select
- Time, validate, and record an engine call (port of
EngineAdapter.select). Rust’s&Bitboardmakes input mutation impossible by construction; legality and terminality are still checked.