[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
computer-go: Board evaluation by counting the connections and sphere of the connections
Please change the font to Courier !!!
How to calculate territory and influence ?
When I first started thinking about the calculation
of territory and influence from stone on a board
I made it like most people have done.
Each stone have a radiation of it own.
Ex: 1
121
12321
123X321
12321
121
1
Or some thing similar.
But I do not longer think this is a usefull way.
The problem is, how is territory or influence calculated
when there are surrounding stone of the same or the other color.
Instead it is nessassary to make radiation of connection of stones.
First use the previous methode, but when 2 radiation get in contact,
then there is set up a connection between this stones.
All the radiations are reset, and a new radiation i made.
Ex: 1 1 1 1
121 121 1211121
123212321 123222321
123X323X321 =>> X---X =>> 123X333X321
123212321 123222321
121 121 1211121
1 1 1 1
Also the edge makesa connection to stones.
Radiation of the other color cancel out the radiation.
This process has to be done several times, and each time
there is made new connection and radiation.
I think this will give a better way to calculate territory and
influence ?
What do you think ?
Kjeld