Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
SearchEvalPosOnly Class Referencefinal

#include <search_qsonly.h>

+ Inheritance diagram for SearchEvalPosOnly:
+ Collaboration diagram for SearchEvalPosOnly:

Public Member Functions

 SearchEvalPosOnly ()
 
 ~SearchEvalPosOnly () override
 
 SearchEvalPosOnly (SearchEvalPosOnly const &)=delete
 
 SearchEvalPosOnly (SearchEvalPosOnly &&)=delete
 
SearchEvalPosOnlyoperator= (SearchEvalPosOnly const &)=delete
 
SearchEvalPosOnlyoperator= (SearchEvalPosOnly &&)=delete
 
- Public Member Functions inherited from bSearchAlgorithm
 bSearchAlgorithm (std::string const &n)
 
 ~bSearchAlgorithm () override
 
 bSearchAlgorithm (bSearchAlgorithm const &)=delete
 
 bSearchAlgorithm (bSearchAlgorithm &&)=delete
 
bSearchAlgorithmoperator= (bSearchAlgorithm const &)=delete
 
bSearchAlgorithmoperator= (bSearchAlgorithm &&)=delete
 
 operator std::string () const &
 
int64_t getNodes () const
 
int64_t getNonLeafNodes () const
 
void StartSearch (bScore const m)
 
void StopSearch ()
 
void InterruptSearch ()
 
bBestMoveInfo SearchBestMove (bBoard &b)
 Generic search, will call (non-)recursive method per algorithm only when there are moves to be played.
 
bScore sendInfoSearching (bBoard const &b, depth_t const nDepth, std::string const &c, bScore const sc) const
 
bScore RetrieveBoardEvaluation (bBoard &b) const
 Cache score of board.
 
- Public Member Functions inherited from TimedExecution
 TimedExecution ()
 implementation of timing functions
 
virtual ~TimedExecution ()=default
 
std::string getDuration () const
 
long long getDurationMicroSec () const
 

Protected Member Functions

bScore CalcBestMove (bBoard &b) override
 
- Protected Member Functions inherited from bSearchAlgorithm
void CheckIfAbortingSearch () const
 
bScore attenuateScore (bScore const sc) const
 converge score towards zero in order to force immediate best move first
 
void setLevel (bLevel *l)
 
bLevelgetLevel ()
 
void sendInfoCurrMove (bBoard const &b, depth_t const nDepth, movenum_t const moveid) const
 
bScore sendInfoScore (bBoard const &b, depth_t const nDepth, bScore const) const
 
void dumpMoveList (bBoard &b, depth_t const iDepth) const
 
- Protected Member Functions inherited from TimedExecution
void ClockStart ()
 
void ClockEnd ()
 
long long getDurationSec () const
 
long long getDurationMilliSec () const
 

Additional Inherited Members

- Public Attributes inherited from bSearchAlgorithm
depth_t m_maxDepth = 0
 
int64_t m_nodes = 0LL
 
int64_t m_nonleafnodes = 0LL
 
bool m_iterativesearch = false
 

Detailed Description

Definition at line 14 of file search_qsonly.h.

Constructor & Destructor Documentation

◆ SearchEvalPosOnly() [1/3]

SearchEvalPosOnly::SearchEvalPosOnly ( )

Definition at line 12 of file search_qsonly.cpp.

◆ ~SearchEvalPosOnly()

SearchEvalPosOnly::~SearchEvalPosOnly ( )
override

Definition at line 17 of file search_qsonly.cpp.

◆ SearchEvalPosOnly() [2/3]

SearchEvalPosOnly::SearchEvalPosOnly ( SearchEvalPosOnly const &  )
delete

◆ SearchEvalPosOnly() [3/3]

SearchEvalPosOnly::SearchEvalPosOnly ( SearchEvalPosOnly &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

SearchEvalPosOnly & SearchEvalPosOnly::operator= ( SearchEvalPosOnly const &  )
delete

◆ operator=() [2/2]

SearchEvalPosOnly & SearchEvalPosOnly::operator= ( SearchEvalPosOnly &&  )
delete

◆ CalcBestMove()

bScore SearchEvalPosOnly::CalcBestMove ( bBoard b)
overrideprotectedvirtual

Implements bSearchAlgorithm.

Definition at line 21 of file search_qsonly.cpp.

+ Here is the call graph for this function: