|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Advanced example: Tic-Tac-Toe with Negamax, Alpha-Beta, transposition tables, iterative deepening and aspiration windows. More...
Go to the source code of this file.
Functions | |
| int | main () |
Advanced example: Tic-Tac-Toe with Negamax, Alpha-Beta, transposition tables, iterative deepening and aspiration windows.
This example demonstrates several features on the same domain:
For a minimal introduction to Negamax, see negamax_simple_example.cc.
Build and run:
cmake --build build --target negamax_tictactoe_example./build/Examples/negamax_tictactoe_example Definition in file negamax_tictactoe_example.cc.
| int main | ( | ) |
Definition at line 227 of file negamax_tictactoe_example.cc.
References Aleph::Alpha_Beta< Domain >::default_policy(), Aleph::divide_and_conquer_partition_dp(), Aleph::AdversarialIterativeDeepeningOptions< Score >::initial_depth, Aleph::SearchLimits::max_depth, root(), and TT.