mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
@@ -50,7 +50,7 @@ using namespace std;
|
|||||||
/// Version number. If this is left empty, the current date (in the format
|
/// Version number. If this is left empty, the current date (in the format
|
||||||
/// YYMMDD) is used as a version number.
|
/// YYMMDD) is used as a version number.
|
||||||
|
|
||||||
static const string EngineVersion = "";
|
static const string EngineVersion = "1.5";
|
||||||
static const string AppName = "Stockfish";
|
static const string AppName = "Stockfish";
|
||||||
static const string AppTag = "";
|
static const string AppTag = "";
|
||||||
|
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ namespace {
|
|||||||
Depth ThreatDepth; // heavy SMP read access
|
Depth ThreatDepth; // heavy SMP read access
|
||||||
|
|
||||||
// Last seconds noise filtering (LSN)
|
// Last seconds noise filtering (LSN)
|
||||||
const bool UseLSNFiltering = true;
|
const bool UseLSNFiltering = false;
|
||||||
const int LSNTime = 4000; // In milliseconds
|
const int LSNTime = 4000; // In milliseconds
|
||||||
const Value LSNValue = value_from_centipawns(200);
|
const Value LSNValue = value_from_centipawns(200);
|
||||||
bool loseOnTime = false;
|
bool loseOnTime = false;
|
||||||
@@ -489,9 +489,9 @@ bool think(const Position& pos, bool infinite, bool ponder, int side_to_move,
|
|||||||
{
|
{
|
||||||
Value v = id_loop(pos, searchMoves);
|
Value v = id_loop(pos, searchMoves);
|
||||||
loseOnTime = ( UseLSNFiltering
|
loseOnTime = ( UseLSNFiltering
|
||||||
&& myTime < LSNTime
|
&& myTime < LSNTime
|
||||||
&& myIncrement == 0
|
&& myIncrement == 0
|
||||||
&& v < -LSNValue);
|
&& v < -LSNValue);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user