parent
7fb80ae7d9
commit
2ae5c8cb44
@ -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
|
Loading…
Reference in new issue