Next: , Previous: Influence, Up: Top


14 Another approach to Moyos : Bouzy's 5/21 algorithm

The file score.c contains alternative algorithms for the computation of Territory and Moyos. These algorithms are used in estimate_score() but apart from that are generally not used in the rest of the engine since the concepts of Territory, Moyo and Area were reimplemented using the influence code (see Territory and Moyo). The function estimate_score(), which is the only way this code is used in the engine, could easily be replaced with a function such as influence_score() based on the influence code.