go commands + commands helper | bench 1632393
This commit is contained in:
1 parent
3b79f22ec7
commit
a1115b3373
5 files changed
+374
-88
No files matched your search
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
#include <atomic>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
#include "move.h"
|
||||
#include "board.h"
|
||||
|
||||
@@ -8,6 +10,8 @@ inline bool UCIShowWDL = false;
|
||||
inline int threads = 1;
|
||||
inline std::atomic<bool> searchStopped = false;
|
||||
|
||||
constexpr std::string_view EleanorVersion = "4.1";
|
||||
|
||||
class SearchParams {
|
||||
public:
|
||||
int wtime = 0;
|
||||
@@ -16,6 +20,11 @@ public:
|
||||
int binc = 0;
|
||||
int movesToGo = 0;
|
||||
int nodes = 0;
|
||||
int depth = 0;
|
||||
int mate = 0;
|
||||
int movetime = 0;
|
||||
bool infinite = false;
|
||||
std::vector<Move> searchMoves;
|
||||
|
||||
int threads = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user