KYLChiu / sporkfish

Chess engine in Python
MIT License
5 stars 0 forks source link

[Feature] Refactor Lazy SMP to take in different single process search functions #143

Open KYLChiu opened 6 months ago

KYLChiu commented 6 months ago
          As discussed offline PVS can also be parallelized but given we don't use LAZY_SMP at all for now, for a future task.

_Originally posted by @KYLChiu in https://github.com/KYLChiu/sporkfish/pull/141#discussion_r1552410168_

If we can refactor LAZY_SMP to take different search functions (PVS, negamax_sp), that would be great. All searcher classes should have _start_search_from_root somewhere, which can be called.

https://github.com/KYLChiu/sporkfish/pull/141 - PVS is in process but the skeleton is here.