linux国际象棋,stockfish

Stockfish是一个强大的、免费的UCI国际象棋引擎,源自Glaurung 2.1。它需要一个UCI兼容的图形用户界面(GUI)才能舒适地使用。Stockfish具有经典和NNUE两种评估功能,其中NNUE利用神经网络在现代CPU上实现高效评估。要使用Stockfish,你需要设置如线程数、哈希大小等选项,并确保有合适的NNUE参数文件。此外,Stockfish支持与Syzygy表库配合使用,以提高搜索效率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Overview

Stockfish.svg?branch=master

Stockfish?branch=master&svg=true

Stockfish is a free, powerful UCI chess engine

derived from Glaurung 2.1. Stockfish is not a complete chess program and requires a

UCI-compatible graphical user interface (GUI) (e.g. XBoard with PolyGlot, Scid,

Cute Chess, eboard, Arena, Sigma Chess, Shredder, Chess Partner or Fritz) in order

to be used comfortably. Read the documentation for your GUI of choice for information

about how to use Stockfish with it.

The Stockfish engine features two evaluation functions for chess, the classical

evaluation based on handcrafted terms, and the NNUE evaluation based on efficiently

updatable neural networks. The classical evaluation runs efficiently on almost all

CPU architectures, while the NNUE evaluation benefits from the vector

intrinsics available on most CPUs (sse2, avx2, neon, or similar).

Files

This distribution of Stockfish consists of the following files:

Readme.md, the file you are currently reading.

Copying.txt, a text file containing the GNU General Public License version 3.

AUTHORS, a text file with the list of authors for the project

src, a subdirectory containing the full source code, including a Makefile

that can be used to compile Stockfish on Unix-like systems.

a file with the .nnue extension, storing the neural network for the NNUE

evaluation. Binary distributions will have this file embedded.

The UCI protocol and available options

The Universal Chess Interface (UCI) is a standard protocol used to communicate with a chess engine,

and is the recommended way to do so for typical graphical user interfaces (GUI) or chess tools.

Stockfish implements most commands as described in the UCI protocol

For users, the following UCI options, which can typically be set via a GUI, are available in Stockfish:

Threads

The number of CPU threads used for searching a position. For best performance, set

this equal to the number of CPU cores available.

Hash

The size of the hash table in MB. It is recommended to set Hash after setting Threads.

Clear Hash

Clear the hash table.

Ponder

Let Stockfish ponder its next move while the opponent is thinking.

MultiPV

Output the N best lines (principal variations, PVs) when searching.

Leave at 1 for best performance.

Use NNUE

Toggle between the NNUE and classical evaluation functions. If set to "true",

the network parameters must be available to load from file (see also EvalFile),

if they are not embedded in the binary.

EvalFile

The name of the file of the NNUE evaluation parameters. Depending on the GUI the

filename might have to inc

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值