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

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 StopSearch ()
 
void InterruptSearch ()
 
bBestMoveInfo SearchBestMove (bBoard &b)
 Generic search, will call (non-)recursive method per algorithm only when there are moves to be played. More...
 
bScore sendInfoSearching (bBoard const &b, depth_t const nDepth, std::string const &c, bScore const sc) const
 
bScore sendInfoSearching (bBoard const &b, depth_t const nDepth, std::string const &c, bSearchScore const &sc) const
 
bScore RetrieveBoardEvaluation (bBoard &b) const
 Cache score of board. More...
 
- Public Member Functions inherited from TimedExecution
 TimedExecution ()
 implementation of timing functions More...
 
virtual ~TimedExecution ()=default
 
std::string getDuration () const
 
long long getDurationMicroSec () const
 

Protected Member Functions

bBestMoveInfo CalcBestMove (bBoard &b) override
 
- Protected Member Functions inherited from bSearchAlgorithm
bScore attenuateScore (bScore const sc) const
 converge score towards zero in order to force immediate best move first More...
 
void setLevel (bLevel *l)
 
bLevelgetLevel ()
 
void handleInfoCurrMove (bBoard const &b, bMoveList const &ml, 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 ()
 
int64_t getDurationSec () const
 
int64_t getDurationMilliSec () const
 

Additional Inherited Members

- Public Attributes inherited from bSearchAlgorithm
depth_t m_maxDepth = 0
 
int64_t m_leafnodes = 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()

bBestMoveInfo SearchEvalPosOnly::CalcBestMove ( bBoard b)
overrideprotectedvirtual

Implements bSearchAlgorithm.

Definition at line 21 of file search_qsonly.cpp.

+ Here is the call graph for this function: