Benson's algorithm (Go)
{{short description|Algorithm to determine whether a group of go stones are unconditionally alive}}
{{distinguish|text=Benson's algorithm, a method for solving linear multi-objective optimization problems}}
{{GoBoardGame}}
In the game Go, Benson's algorithm (named after David B. Benson) can be used to determine the stones which are safe from capture no matter how many turns in a row the opposing player gets, i.e. unconditionally alive.{{cite web|url=http://users.ics.tkk.fi/praiko/papers/step04/node7.html|title=Benson's algorithm|author=Tapani Raiko|date=May 5, 2005|accessdate=March 21, 2012}}
Algorithm
Without loss of generality, we describe Benson's algorithm for the Black player.
Let X be the set of all Black chains and R be the set of all Black-enclosed regions of X. Then Benson's algorithm requires iteratively applying the following two steps until neither is able to remove any more chains or regions:
- Remove from X all Black chains with less than two vital Black-enclosed regions in R, where a Black-enclosed region is vital to a Black chain in X if all its empty intersections are also liberties of the chain.
- Remove from R all Black-enclosed regions with a surrounding stone in a chain not in X.
The final set X is the set of all unconditionally alive Black chains.{{cite web|url=http://senseis.xmp.net/?BensonsAlgorithm|title=Sensei's Library: Benson's Definition of Unconditional Life|accessdate=March 21, 2012}}
Applicability
{{Unreferenced section|date=January 2023}}
Most strong Computer Go programs since 2008 do not actually use Benson's algorithm. "Knowledge-based" approaches to Go that attempt to simulate human strategy proved to not be very effective, and later approaches generally used tools such as Monte Carlo random playouts to "score" positions.Steinmetz, E. S., & Gini, M. G. (2015). Mining Expert Play to Guide Monte Carlo Search in the Opening Moves of Go [Digital]. In International Joint Conference on Artificial Intelligence, Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2015) (24th ed.). International Joint Conference on Artificial Intelligence.
See also
References
{{Reflist}}
- {{cite journal|author=David B. Benson|title=Life in the game of Go|journal=Information Sciences|volume=10|issue=2|pages=17–29|year=1976|publisher=Elsevier|url=http://webdocs.cs.ualberta.ca/~games/go/seminar/2002/020717/benson.pdf|accessdate=March 21, 2012|doi=10.1016/s0020-0255(76)90554-5}}
{{Go (game)}}