mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
@@ -27,7 +27,6 @@
|
|||||||
#include "material.h"
|
#include "material.h"
|
||||||
#include "pawns.h"
|
#include "pawns.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "uci.h"
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
@@ -903,8 +902,7 @@ namespace Eval {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// init() computes evaluation weights from the corresponding UCI parameters
|
/// init() computes evaluation weights.
|
||||||
/// and setup king tables.
|
|
||||||
|
|
||||||
void init() {
|
void init() {
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "evaluate.h"
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "tt.h"
|
#include "tt.h"
|
||||||
@@ -36,7 +35,6 @@ namespace UCI {
|
|||||||
|
|
||||||
/// 'On change' actions, triggered by an option's value change
|
/// 'On change' actions, triggered by an option's value change
|
||||||
void on_logger(const Option& o) { start_logger(o); }
|
void on_logger(const Option& o) { start_logger(o); }
|
||||||
void on_eval(const Option&) { Eval::init(); }
|
|
||||||
void on_threads(const Option&) { Threads.read_uci_options(); }
|
void on_threads(const Option&) { Threads.read_uci_options(); }
|
||||||
void on_hash_size(const Option& o) { TT.resize(o); }
|
void on_hash_size(const Option& o) { TT.resize(o); }
|
||||||
void on_clear_hash(const Option&) { TT.clear(); }
|
void on_clear_hash(const Option&) { TT.clear(); }
|
||||||
|
|||||||
Reference in New Issue
Block a user