[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] connection distances
From: |
kevin yong |
Subject: |
Re: [gnugo-devel] connection distances |
Date: |
Sun, 18 May 2003 12:06:31 -0400 (EDT) |
--- Arend Bayer <address@hidden> wrote: >
>
> - connection tuning
> - new function spread_connection_distances() broken
> out of
> compute_connection_distances()
Hi, Arend:
i made a 'getAllDistanceToDragon()' function similar
to the one you talk about. factually, when i did it, i
did not realize there is such
'compute_connection_distances()' is there.
the idea is quite similar, but with some differences:
- it globally compute 'connect_distance' (i was call
it 'access_distance' when i made it) for every empty
position to every dragon once for all;
- without considering cut/vulenable etc.
i think it is far from matuaed enough to be a patch,
but just summit it for your reference only. i do think
this distance has broad applications, because the sole
of go game is about connection.
for example, i use it to compute the connection
between 2 friendly dragons and to see if they could be
lumped together (this is implemented in
'zCombineDragons()' function), and i got result which
lump 2 dragons which gnugo think they are 2 separate
dragons.
please check attached files.
best regards.
kevin.
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
zGoLocal.c
Description: zGoLocal.c
zGo.h
Description: zGo.h