Ticket #79 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

arend_7_9.2.diff Download (9.0 KB) - added by arend 6 years ago.

Regression Results

Attachment Rev. PASS FAIL Nodes Status
arend_7_9.2.diff Download never tested

Change History

Changed 6 years ago by arend

comment:1 Changed 6 years ago by arend

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.