BitBully 0.0.39
Loading...
Searching...
No Matches
GameSolver::Connect4::Solver Class Reference

Public Member Functions

int solve (const Position &P, bool weak=false)
 
std::vector< int > analyze (const Position &P, bool weak=false)
 
unsigned long long getNodeCount () const
 
void reset ()
 
void loadBook (std::string book_file)
 

Static Public Attributes

static constexpr int INVALID_MOVE = -1000
 

Detailed Description

Definition at line 31 of file Solver.hpp.

Constructor & Destructor Documentation

◆ Solver()

GameSolver::Connect4::Solver::Solver ( )

Definition at line 143 of file Solver.cpp.

Member Function Documentation

◆ analyze()

std::vector< int > GameSolver::Connect4::Solver::analyze ( const Position & P,
bool weak = false )

Definition at line 128 of file Solver.cpp.

◆ getNodeCount()

unsigned long long GameSolver::Connect4::Solver::getNodeCount ( ) const
inline

Definition at line 62 of file Solver.hpp.

◆ loadBook()

void GameSolver::Connect4::Solver::loadBook ( std::string book_file)
inline

Definition at line 71 of file Solver.hpp.

◆ reset()

void GameSolver::Connect4::Solver::reset ( )
inline

Definition at line 66 of file Solver.hpp.

◆ solve()

int GameSolver::Connect4::Solver::solve ( const Position & P,
bool weak = false )

Definition at line 107 of file Solver.cpp.

Member Data Documentation

◆ INVALID_MOVE

int GameSolver::Connect4::Solver::INVALID_MOVE = -1000
staticconstexpr

Definition at line 53 of file Solver.hpp.


The documentation for this class was generated from the following files: