飞扬围棋

 找回密码
 注册
搜索
查看: 6160|回复: 6
打印 上一主题 下一主题

Awater请进

[复制链接]
跳转到指定楼层
1#
发表于 2004-1-28 15:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我给你发了信,关于gnugo3.54的,请接收。
2#
发表于 2004-1-28 17:25 | 只看该作者
收到了第二封信,第一封没有收到,麻烦再发一次。
回复 支持 反对

使用道具 举报

3#
 楼主| 发表于 2004-1-28 19:20 | 只看该作者
已经发了,有没有办法让pattern这个目录开放呢?
回复 支持 反对

使用道具 举报

4#
发表于 2004-1-28 19:46 | 只看该作者
cjohuchen请把3.54发到我的信箱里好吗?
linzheng@qingdaonews.com
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2004-1-28 20:01 | 只看该作者
请到这里下载:ftp://sporadic.stanford.edu/pub/gnugo-3.5.4.tar.gz

另外,我给你发了我从kogo's joseki分离出来的sgf文件,但是gnugo 的joseki有他自己的一套,还需要花不少工夫,我的hoshi_Keima才完成了一半。
回复 支持 反对

使用道具 举报

6#
 楼主| 发表于 2004-1-28 20:04 | 只看该作者
大家一起动手来充实gungo的定式库

12.16 The Joseki Compiler

GNU Go includes a joseki compiler in `patterns/joseki.c'. This processes an SGF file (with variations) and produces a sequence of patterns which can then be fed back into mkpat. The joseki database is currently in files in `patterns/' called `hoshi.sgf', `komoku.sgf', `sansan.sgf', `mokuhazushi.sgf' and `takamoku.sgf'. This division can be revised whenever need arises.

The SGF files are transformed into the pattern database `.db' format by the program in `joseki.c'. These files are in turn transformed into C code by the program in `mkpat.c' and the C files are compiled and linked into the GNU Go binary.

Not every node in the SGF file contributes a pattern. The nodes which contribute patterns have the joseki in the upper right corner, with the boundary marked with a square mark and other information to determine the resulting pattern marked in the comments.

The intention is that the move valuation should be able to choose between the available variations by normal valuation. When this fails the primary workaround is to use shape values to increase or decrease the value. It is also possible to add antisuji variations to forbid popular suboptimal moves. As usual constraints can be used, e.g. to condition a variation on a working ladder.

The joseki format has the following components for each SGF node:


A square mark (SQ or MA property) to decide how large part of the board should be included in the pattern.
A move (`W' or `B' property) with the natural interpretation. If the square mark is missing or the move is a pass, no pattern is produced for the node.
Optional labels (LB property), which must be a single letter each. If there is at least one label, a constraint diagram will be produced with these labels.
A comment (`C' property). As the first character it should have one of the following characters to decide its classification:
`U' - urgent move
`S' or `J' - standard move
`s' or `j' - lesser joseki
`T' - trick move
`t' - minor joseki move (tenuki OK)
`0' - antisuji (`A' can also be used)
The rest of the line is ignored, as is the case of the letter. If neither of these is found, it's assumed to be a standard joseki move.
In addition to this, rows starting with the following characters are recognized:

`#' - Comments. These are copied into the patterns file, above the diagram.
`;' - Constraints. These are copied into the patterns file, below the constraint diagram.
`>' - Actions. These are copied into the patterns file, below the constraint diagram.
`:' - Colon line. This is a little more complicated, but the colon line of the produced patterns always start out with ":8,s" for transformation number and sacrifice pattern class (it usually isn't a sacrifice, but it's pointless spending time checking for tactical safety). Then a joseki pattern class character is appended and finally what is included on the colon line in the comment for the SGF node.
回复 支持 反对

使用道具 举报

7#
发表于 2004-1-29 04:27 | 只看该作者
可以去我的主页下载编译好的gnugo 3.54了,但是无法使用你提供的patterns,编译无法通过,在使用joseki生成库的时候会出错,具体原因不太清楚,没有细究,先用着吧,呵呵。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|飞扬围棋网 ( 苏ICP备11029047号-1 )

GMT+8, 2024-12-4 04:19 , Processed in 0.141502 second(s), 19 queries .

since 2003飞扬围棋论坛 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表