Ticket #206 (closed defect: fixed)
Smarter improvement of lunch attacks.
| Reported by: | gunnar | Owned by: | gnugo |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7.13 |
| Component: | source | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | patch: | yes |
Description
The function improve_lunch_attack() tries to avoid capturing single or double stones on the first line with a first line hane since that can cause false eyes. E.g. playing to the left of the two black stones on the first line here,


















and instead moves the attack move up to the second line if that's also an attack point.
However, this can become extremely silly in positions like




































where moving a move directly to the right of the black stone on the first line up to the second line makes absolutely no sense at all.
The attached patch should amend this problem.
Attachments
Regression Results
| Attachment | Rev. | PASS | FAIL | Nodes | Status | |
| gunnar_7_13.4.diff | 2426 | 1 | -0.051% -0.18% -0.013% | details |
Change History
Note: See
TracTickets for help on using
tickets.
