Ticket #79 (closed defect: fixed)
Unify internal handling of limit_search and restricted_genmove
| Reported by: | arend | Owned by: | arend |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7.9 |
| Component: | source | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | patch: | yes |
Description
We have currently two GTP ways to restrict search to a subset of moves: limit_search (handled internally via the global variables limit_search and search_mask), and restricted_genmove (handled internally via allowed_moves).
This patch makes the limit_search approach reuse the allowed_moves logic of do_restricted_genmove(), thus making it a lot less invasive.
Attachments
Regression Results
| Attachment | Rev. | PASS | FAIL | Nodes | Status | |
| arend_7_9.2.diff | never tested |
Change History
Note: See
TracTickets for help on using
tickets.

