Ticket #206 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

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

gunnar_7_13.4.diff (0.5 kB) - added by gunnar 4 months ago.
Revision of improve_lunch_attack().

Regression Results

Attachment Rev. PASS FAIL Nodes Status
gunnar_7_13.4.diff 2426 1 -0.051% -0.18% -0.013% details

Change History

Changed 4 months ago by gunnar

Revision of improve_lunch_attack().

Changed 4 months ago by gunnar

No unpleasent surprises in the regressions. Only one good PASS and a modest reduction of owl nodes.

trevorc:820     PASS A6 [A6]
1 PASS
Total nodes: 1700585382 3337679 12402666 (-0.051% -0.18% -0.013%)

Changed 4 months ago by gunnar

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