You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
266 B
7 lines
266 B
6 months ago
|
# 定义搜索结果类,用于方便处理返回值
|
||
|
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
|