From 2ae5c8cb445206aad82d5ac226fea405d6b916dd Mon Sep 17 00:00:00 2001 From: hnu202309010107 <2215403613@qq.com> Date: Sun, 26 May 2024 16:03:07 +0800 Subject: [PATCH] ADD file via upload --- search_result.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 search_result.py diff --git a/search_result.py b/search_result.py new file mode 100644 index 0000000..ff73d34 --- /dev/null +++ b/search_result.py @@ -0,0 +1,7 @@ +# 定义搜索结果类,用于方便处理返回值 +class search_result: + def __init__(self, move=-1, score=0, positions=0, cutoffs=0) -> None: + self.move = move + self.positions = positions + self.cutoffs = cutoffs + self.score = score \ No newline at end of file