Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
bSearchScore Class Reference

#include <search.h>

Public Member Functions

 bSearchScore (bSearchScore const &sc) noexcept
 
 bSearchScore (bSearchScore &&sc) noexcept
 
 bSearchScore (bScore const &sc) noexcept
 
 bSearchScore (bScore const &sc, scoretype_t const &st) noexcept
 
 ~bSearchScore ()
 
bSearchScoreoperator= (bSearchScore &&sc) noexcept
 
bSearchScoreoperator= (bScore const &sc) noexcept
 
bSearchScoreoperator= (bScore &&sc) noexcept
 
bSearchScore operator- () const
 
bSearchScoreoperator= (bSearchScore const &)=delete
 
 operator std::string () const
 
bScore getScore () const
 
bScore getRealScore () const
 

Friends

std::string const operator+ (std::string const &lhs, bSearchScore const &sc)
 
std::string const operator+ (bSearchScore const &sc, std::string const &rhs)
 
bool operator> (bScore const &lhsc, bSearchScore const &rhsc)
 
bool operator>= (bScore const &lhsc, bSearchScore const &rhsc)
 
bool operator> (bSearchScore const &lhsc, bScore const &rhsc)
 
bool operator> (bSearchScore const &lhsc, bSearchScore const &rhsc)
 

Detailed Description

Definition at line 46 of file search.h.

Constructor & Destructor Documentation

◆ bSearchScore() [1/4]

bSearchScore::bSearchScore ( bSearchScore const &  sc)
noexcept

Definition at line 12 of file search.cpp.

◆ bSearchScore() [2/4]

bSearchScore::bSearchScore ( bSearchScore &&  sc)
explicitnoexcept

Definition at line 18 of file search.cpp.

◆ bSearchScore() [3/4]

bSearchScore::bSearchScore ( bScore const &  sc)
explicitnoexcept

Definition at line 24 of file search.cpp.

◆ bSearchScore() [4/4]

bSearchScore::bSearchScore ( bScore const &  sc,
scoretype_t const &  st 
)
explicitnoexcept

Definition at line 29 of file search.cpp.

◆ ~bSearchScore()

bSearchScore::~bSearchScore ( )

Definition at line 57 of file search.cpp.

Member Function Documentation

◆ operator=() [1/4]

bSearchScore & bSearchScore::operator= ( bSearchScore &&  sc)
noexcept

Definition at line 35 of file search.cpp.

◆ operator=() [2/4]

bSearchScore & bSearchScore::operator= ( bScore const &  sc)
noexcept

Definition at line 43 of file search.cpp.

◆ operator=() [3/4]

bSearchScore & bSearchScore::operator= ( bScore &&  sc)
noexcept

Definition at line 50 of file search.cpp.

◆ operator-()

bSearchScore bSearchScore::operator- ( ) const

Definition at line 61 of file search.cpp.

◆ operator=() [4/4]

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

◆ operator std::string()

bSearchScore::operator std::string ( ) const

Definition at line 103 of file search.cpp.

◆ getScore()

bScore bSearchScore::getScore ( ) const
inline

Definition at line 62 of file search.h.

Referenced by SearchEvalPosOnly::CalcBestMove(), SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), and SearchAlphaBeta::Quiescence().

+ Here is the caller graph for this function:

◆ getRealScore()

bScore bSearchScore::getRealScore ( ) const
inline

Definition at line 63 of file search.h.

Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), and SearchAlphaBeta::Quiescence().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator+ [1/2]

std::string const operator+ ( std::string const &  lhs,
bSearchScore const &  sc 
)
friend

Definition at line 73 of file search.cpp.

◆ operator+ [2/2]

std::string const operator+ ( bSearchScore const &  sc,
std::string const &  rhs 
)
friend

Definition at line 78 of file search.cpp.

◆ operator> [1/3]

bool operator> ( bScore const &  lhsc,
bSearchScore const &  rhsc 
)
friend

Definition at line 83 of file search.cpp.

◆ operator>=

bool operator>= ( bScore const &  lhsc,
bSearchScore const &  rhsc 
)
friend

Definition at line 88 of file search.cpp.

◆ operator> [2/3]

bool operator> ( bSearchScore const &  lhsc,
bScore const &  rhsc 
)
friend

Definition at line 93 of file search.cpp.

◆ operator> [3/3]

bool operator> ( bSearchScore const &  lhsc,
bSearchScore const &  rhsc 
)
friend

Definition at line 98 of file search.cpp.