-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSearch.h
25 lines (18 loc) · 955 Bytes
/
Search.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "core/CalcParams.h"
#include "core/NodeStats.h"
#include "core/MVK.h"
#include "Pos2.h"
#include "SearchParams.h"
// evaluation control schemes
void TimedMVK(Pos2& pos2, const CCalcParams& cp, const CSearchInfo& si, CMVK& mvk, bool fPassBefore);
void IterativeValue(Pos2& pos2, CMoves moves, const CCalcParams& cp, const CSearchInfo& si, CMVK& mvk, bool fPassBefore, int nBest);
void ValueMulti(Pos2& pos2, int height, CValue alpha, CValue beta, int iPrune, u4 nBest, const std::vector<CMoveValue>& mvs
, bool fPrintBestMoves, bool fPassBefore, std::vector<CMoveValue>& mvsEvaluated, u4& nValued);
//IterativeValue support routines
void SetBookHeights(int height);
// fixed-height evaluators
void ValueTree(Pos2& pos2, int height, CValue alpha, CValue beta, CMoves& moves, int& iFastestFirst, int iPrune, CMoveValue& best);
CValue StaticValue(Pos2& pos2, int iff);
// forced openings
void InitForcedOpenings();
void InitializeCache();