BenBot
1.7.5
A chess engine
Loading...
Searching...
No Matches
Evaluation.hpp
Go to the documentation of this file.
1
/*
2
* ======================================================================================
3
*
4
* ░▒▓███████▓▒░░▒▓████████▓▒░▒▓███████▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░▒▓████████▓▒░
5
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
6
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
7
* ░▒▓███████▓▒░░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
8
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
9
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
10
* ░▒▓███████▓▒░░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░
11
*
12
* ======================================================================================
13
*/
14
20
25
26
#pragma once
27
28
#include <
libbenbot/eval/Score.hpp
>
29
30
namespace
chess::game
{
31
struct
Position
;
32
}
// namespace chess::game
33
34
namespace
ben_bot
{
35
class
PawnTable
;
36
}
// namespace ben_bot
37
41
namespace
ben_bot::eval
{
42
43
using
chess::game::Position;
44
54
[[nodiscard]]
auto
evaluate
(
55
const
Position
& position,
56
PawnTable
* pawnTable =
nullptr
)
57
->
Score
;
58
59
}
// namespace ben_bot::eval
Score.hpp
ben_bot::PawnTable
Definition
PawnTable.hpp:54
ben_bot::eval::evaluate
auto evaluate(const Position &position, PawnTable *pawnTable=nullptr) -> Score
ben_bot::eval
Definition
DefaultWeights.hpp:30
ben_bot
chess::game
Definition
CastlingRights.hpp:28
ben_bot::eval::Score
Definition
Score.hpp:67
chess::game::Position
Definition
Position.hpp:74
libbenbot
include
libbenbot
eval
Evaluation.hpp
Generated on
for BenBot by
1.16.1