Matthew Woodcraft [Mon, 30 May 2011 14:13:31 +0000 (30 16:13 +0200)]
[PATCH] board_handicap(): Correct placement for three-stone handicaps
Petr Baudis [Mon, 30 May 2011 13:57:17 +0000 (30 15:57 +0200)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Mon, 30 May 2011 13:57:05 +0000 (30 15:57 +0200)]
ucb1amaf_update criticality stats: Fix invalid memory access on pass
Petr Baudis [Sun, 29 May 2011 19:11:39 +0000 (29 21:11 +0200)]
board_clear(): Cache set up board structures - major speedup for loading fbook
Petr Baudis [Sun, 29 May 2011 18:38:19 +0000 (29 20:38 +0200)]
board_clear(): Factor out board_init_data()
Petr Baudis [Sun, 29 May 2011 18:29:23 +0000 (29 20:29 +0200)]
fbook: Enable debug prints
Petr Baudis [Sun, 29 May 2011 18:21:22 +0000 (29 20:21 +0200)]
fbook_init(): Return NULL if the book turned out to stay empty
This also prevents cache reset on such occassion.
Petr Baudis [Sun, 29 May 2011 18:16:27 +0000 (29 20:16 +0200)]
fbook caching: Store last loaded fbook and reuse it if it matches current board
Petr Baudis [Sun, 29 May 2011 18:09:30 +0000 (29 20:09 +0200)]
fbook: Increase fbook_hash_bits to 20 to accomodate even large fbooks like ra6
Petr Baudis [Sun, 29 May 2011 15:49:16 +0000 (29 17:49 +0200)]
Merge branch '2lib'
Petr Baudis [Sat, 28 May 2011 21:21:20 +0000 (28 23:21 +0200)]
can_atari_group(): When switching to selfatari cousin, check defense_is_hopeless()
Petr Baudis [Sat, 28 May 2011 19:37:48 +0000 (28 21:37 +0200)]
selfatari_cousin(): Make info on by-group available
Petr Baudis [Sat, 28 May 2011 19:34:46 +0000 (28 21:34 +0200)]
can_atari_group(): Factor out hope check to defense_is_hopeless()
Petr Baudis [Sat, 28 May 2011 18:58:51 +0000 (28 20:58 +0200)]
can_atari_group(): Add massive amount of debugging prints
Petr Baudis [Sat, 28 May 2011 16:56:51 +0000 (28 18:56 +0200)]
TODO: Liberty maps (developed in libmap branch), reverse status learning
Petr Baudis [Wed, 25 May 2011 22:24:41 +0000 (26 00:24 +0200)]
tools/sgf2gtp.pl: Support HA[] sgf tag
Petr Baudis [Wed, 25 May 2011 22:24:27 +0000 (26 00:24 +0200)]
tools/sgf2gtp.pl: Accept filename as optional argument
Petr Baudis [Wed, 25 May 2011 21:53:22 +0000 (25 23:53 +0200)]
gtp: Add fixed_handicap to list of supported commands
Petr Baudis [Sun, 22 May 2011 17:27:03 +0000 (22 19:27 +0200)]
Pachi Hakugen-devel 8.99
Petr Baudis [Sun, 22 May 2011 17:24:00 +0000 (22 19:24 +0200)]
Pachi Shuhaku 8.00
Petr Baudis [Sun, 22 May 2011 17:23:31 +0000 (22 19:23 +0200)]
Parallel make: Fix pachi being built before some libraries
Petr Baudis [Sun, 22 May 2011 08:05:10 +0000 (22 10:05 +0200)]
fbook: Share no-handicap fbook even for low komi values
Suggested by jlg.
Jean-loup Gailly [Sat, 14 May 2011 20:40:42 +0000 (14 22:40 +0200)]
fbook_init(): do not force h1 for large negative komi
Jean-loup Gailly [Fri, 13 May 2011 17:38:24 +0000 (13 19:38 +0200)]
Dynamic komi: fix linear_permove() when pondering
Petr Baudis [Mon, 16 May 2011 14:36:44 +0000 (16 16:36 +0200)]
Criticality: New defaults based on tuning by jlg
Petr Baudis [Mon, 16 May 2011 14:35:13 +0000 (16 16:35 +0200)]
Moggy ladderrate: Default to 80, confirmed by jlg
Jean-loup Gailly [Fri, 13 May 2011 15:12:58 +0000 (13 17:12 +0200)]
Fix parsing of mqprob, moves & handicap_value parameters
Petr Baudis [Fri, 13 May 2011 10:33:23 +0000 (13 12:33 +0200)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/pachi
Matthew Woodcraft [Sun, 8 May 2011 14:44:07 +0000 (8 15:44 +0100)]
Add final_score to known_commands
Matthew Woodcraft [Sun, 8 May 2011 14:42:52 +0000 (8 15:42 +0100)]
Implement known_command; make gtp_is_valid() stricter
Petr Baudis [Mon, 9 May 2011 20:17:44 +0000 (9 22:17 +0200)]
Makefile.lib: Allow parallel build
Petr Baudis [Sun, 8 May 2011 17:38:38 +0000 (8 19:38 +0200)]
fbook: Add support for handicap lines; do not use normal lines in handicap games
Petr Baudis [Mon, 25 Apr 2011 20:16:03 +0000 (25 22:16 +0200)]
Moggy: cap_stone_denom=200, ladderrate=40
This turns out the capture stone weighting and preferring ataris that
walk the ladder. I have measured both to be gains with reasonably high
probability, but more tuning is needed to find the optimum.
Petr Baudis [Mon, 25 Apr 2011 19:19:08 +0000 (25 21:19 +0200)]
UCB1AMAF crit_*: New defaults based on very rough tuning
On 19x19, this may be as much as 50 ELO gain vs. crit_rave=0. More
tuning still going on.
Petr Baudis [Mon, 25 Apr 2011 10:48:21 +0000 (25 12:48 +0200)]
Merge branch 'master' into criticality
Conflicts:
uct/tree.c
Petr Baudis [Mon, 25 Apr 2011 10:46:36 +0000 (25 12:46 +0200)]
tree_node_dump(): Much more condensed output
Petr Baudis [Mon, 25 Apr 2011 00:22:44 +0000 (25 02:22 +0200)]
UCB1AMAF: Add criticality support, with many tuning options
crit_rave=2, crit_min_playouts=32, crit_negative=1, crit_amaf=1
Petr Baudis [Sun, 24 Apr 2011 23:50:38 +0000 (25 01:50 +0200)]
tree_node_criticality(): Add further explanation for drunk readers like me
Petr Baudis [Sun, 24 Apr 2011 22:01:40 +0000 (25 00:01 +0200)]
Merge branch 'master' into criticality
Petr Baudis [Sun, 24 Apr 2011 22:00:54 +0000 (25 00:00 +0200)]
tree_node_criticality(): Return floating_t instead of double
Petr Baudis [Sat, 23 Apr 2011 20:39:41 +0000 (23 22:39 +0200)]
Moggy: Turn off laderrate for now
Optimum value not definitely determined yet, but it is likely that the
gain is negative for -1.
Petr Baudis [Sat, 23 Apr 2011 20:34:44 +0000 (23 22:34 +0200)]
Merge branch 'ladders'
Petr Baudis [Sat, 16 Apr 2011 21:39:12 +0000 (16 23:39 +0200)]
README: Wording tweak
Petr Baudis [Sat, 16 Apr 2011 02:15:30 +0000 (16 04:15 +0200)]
media: Add two pictures of Pachi; let's not neglect its personality!
Petr Baudis [Sat, 16 Apr 2011 02:13:18 +0000 (16 04:13 +0200)]
TODO: Remove two stale items
Petr Baudis [Sat, 16 Apr 2011 02:10:15 +0000 (16 04:10 +0200)]
Rename the main program binary from zzgo to pachi
'zzgo' is still residuum from the earliest times when I was not decided
on the program name. Good bye!
Petr Baudis [Sat, 16 Apr 2011 02:05:22 +0000 (16 04:05 +0200)]
Header guards: Rename ZZGO_* to PACHI_*
Petr Baudis [Sat, 16 Apr 2011 02:03:43 +0000 (16 04:03 +0200)]
UCT max_tree_size: Lower the default to 1.4GiB; adjust and polish README
Many notebooks still sold have just 2GiB of memory, plus some memory may
be taken by OS and other apps. Overally, the 1.4GiB limit is IMHO a much
safer default, especially given there is no pondering and just single
core used by default too.
Petr Baudis [Sat, 16 Apr 2011 01:58:28 +0000 (16 03:58 +0200)]
UCT fast_alloc: Make default
Petr Baudis [Sat, 16 Apr 2011 01:56:49 +0000 (16 03:56 +0200)]
README: Move the installation instructions to the top
Petr Baudis [Sat, 16 Apr 2011 01:56:31 +0000 (16 03:56 +0200)]
Deprecate the zzgo-profiled make target
Petr Baudis [Sat, 16 Apr 2011 01:53:52 +0000 (16 03:53 +0200)]
README: Grammar polishing, rewording and extending the text
Petr Baudis [Sat, 16 Apr 2011 01:29:22 +0000 (16 03:29 +0200)]
More user friendly build-time configuration
The Makefile now contains descriptions for all available build time
options.
Petr Baudis [Thu, 14 Apr 2011 22:08:22 +0000 (15 00:08 +0200)]
Moggy stone weighing: Fix case when cap_stone_denom == 0
Petr Baudis [Thu, 14 Apr 2011 17:03:28 +0000 (14 19:03 +0200)]
Moggy 1lib prior: Add support for stone weighing, turned off by default
New options cap_stone_min, cap_stone_max, cap_stone_denom. Needs a lot of tuning.
Petr Baudis [Thu, 14 Apr 2011 16:34:33 +0000 (14 18:34 +0200)]
Merge branch 'master' into ladders
Petr Baudis [Thu, 14 Apr 2011 16:31:42 +0000 (14 18:31 +0200)]
Moggy pattern3, group_atari_check(): Ignore ladder extensions in case counter-capture is possible
Petr Baudis [Thu, 14 Apr 2011 16:31:12 +0000 (14 18:31 +0200)]
can_countercapture(): Export interface
Petr Baudis [Wed, 13 Apr 2011 20:08:23 +0000 (13 22:08 +0200)]
Petr Baudis [Sun, 20 Feb 2011 22:36:46 +0000 (20 23:36 +0100)]
Merge branch 'master' into ladders
Petr Baudis [Sun, 20 Feb 2011 22:36:23 +0000 (20 23:36 +0100)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Sun, 20 Feb 2011 19:48:23 +0000 (20 20:48 +0100)]
Moggy: Play the proper atari in case we can catch a group in ladder
Petr Baudis [Sun, 20 Feb 2011 19:47:41 +0000 (20 20:47 +0100)]
middle_ladder_walk(): Fix not noticing ladders that skim corners at the edges
Petr Baudis [Sun, 20 Feb 2011 19:46:39 +0000 (20 20:46 +0100)]
is_middle_ladder(): Factor out middle_ladder_walk()
Jean-loup Gailly [Sat, 19 Feb 2011 16:30:12 +0000 (19 17:30 +0100)]
Distributed engine: Wait for only 3/4 slaves and at most 0.5s for fast commands
This reduces the risk of losing on time when replaying a whole game after KGS disconnect.
Petr Baudis [Sun, 13 Feb 2011 15:02:47 +0000 (13 16:02 +0100)]
UCT local_tree_depth_decay: Apply based on start of sub-sequence, not end of descent
Petr Baudis [Sun, 13 Feb 2011 14:52:17 +0000 (13 15:52 +0100)]
uct_playout(): Remove superfluous depth variable
Petr Baudis [Thu, 10 Feb 2011 16:25:58 +0000 (10 17:25 +0100)]
Autotest: Fix loading rc file when /bin/sh is not bash
Petr Baudis [Thu, 10 Feb 2011 00:38:30 +0000 (10 01:38 +0100)]
Pachi Shuhaku-devel 7.99
Petr Baudis [Thu, 10 Feb 2011 00:36:58 +0000 (10 01:36 +0100)]
Pachi Chihaku 7.00
Petr Baudis [Thu, 10 Feb 2011 00:33:36 +0000 (10 01:33 +0100)]
group_atari_check(): Do not print misleading 'no ladder' messages
Petr Baudis [Tue, 8 Feb 2011 12:06:33 +0000 (8 13:06 +0100)]
tree_node_dump(): Include criticality
Jean-loup Gailly [Mon, 7 Feb 2011 18:22:27 +0000 (7 19:22 +0100)]
Support undo for pass moves
This form of undo is required by KGS to settle disputes on dead groups.
It is needed in particular for the distributed engine because replaying
the entire game is too slow and causes loss on time.
Jean-loup Gailly [Sat, 5 Feb 2011 18:27:40 +0000 (5 19:27 +0100)]
board_effective_handicap(): Take komi into account when no handicap
This is a fix for
3679219, pointed out by pasky.
Jean-loup Gailly [Sat, 5 Feb 2011 10:14:46 +0000 (5 11:14 +0100)]
Linear dynkomi: Allow different parameters for black and white
This allows using linear dynkomi also for white. Otherwise
white resigns immediately in high handicap games.
Jean-loup Gailly [Sat, 5 Feb 2011 10:01:13 +0000 (5 11:01 +0100)]
board_effective_handicap(): Always return 0 for even games
Jean-loup Gailly [Thu, 3 Feb 2011 09:08:17 +0000 (3 10:08 +0100)]
Merge branch 'master' of git://repo.or.cz/pachi into atari
Petr Baudis [Thu, 3 Feb 2011 00:58:08 +0000 (3 01:58 +0100)]
UCT: Track criticality statistics
This just adds all the book-keeping. We do not use the criticality
information anywhere yet.
Petr Baudis [Thu, 3 Feb 2011 00:17:40 +0000 (3 01:17 +0100)]
UCT: Introduce tree_node_parity() macro
Jean-loup Gailly [Tue, 1 Feb 2011 09:38:10 +0000 (1 10:38 +0100)]
can_atari_group(): Remove "lumpy" counter-example which degrades performance
This partially reverts
66735b2, keeping the good change owner->to_play.
Jean-loup Gailly [Sun, 30 Jan 2011 21:29:04 +0000 (30 22:29 +0100)]
group_atari_check(): Do not consider any defending move when attacking
This avoids expensive checks when attacking and simplifies
the situation (capture laddered group). Needs lcapturerate=90
for optimal results.
Petr Baudis [Sat, 29 Jan 2011 10:41:11 +0000 (29 11:41 +0100)]
UCT local_tree_pseqroot: Remove unused setting
Petr Baudis [Fri, 28 Jan 2011 11:22:55 +0000 (28 12:22 +0100)]
Move some helper scripts and files to tools/ subdirectory
Petr Baudis [Fri, 28 Jan 2011 11:17:37 +0000 (28 12:17 +0100)]
Remove the treepool feature
The treepool has been a failed experiment so far, and it does not seem
likely we will get to make it a real playing strength contribution
anytime soon. Therefore, let's leave it just in the git history.
I have kept the 'significant node' feature since it is used also in some
unmerged branches, is a small piece of code and can come useful for
other stuff I have in mind.
Petr Baudis [Fri, 14 Jan 2011 00:35:13 +0000 (14 01:35 +0100)]
Moggy local_2lib_check(): Avoid duplicate 2-lib checks
In case of 2-libs, these were occuring a lot and are rather expensive.
Petr Baudis [Fri, 28 Jan 2011 09:48:34 +0000 (28 10:48 +0100)]
Petr Baudis [Fri, 14 Jan 2011 12:24:46 +0000 (14 13:24 +0100)]
Moggy: Add support for specifying MQ_NAKADE gamma
Petr Baudis [Sun, 9 Jan 2011 15:22:23 +0000 (9 16:22 +0100)]
Moggy nakaderate: Introduce, try nakade around last move
Petr Baudis [Sun, 9 Jan 2011 15:22:06 +0000 (9 16:22 +0100)]
Tactics nakade_point(): Simple eye-piercing tool
Petr Baudis [Sun, 9 Jan 2011 02:26:22 +0000 (9 03:26 +0100)]
Selfatari setup_nakade_or_snapback(): Slim down the group loop
Use the group iterator just to find out the other contended liberty, do
all the other tests outside. If there is no common other liberty, that
should mean this is not a true nakade.
Petr Baudis [Sun, 23 Jan 2011 21:58:27 +0000 (23 22:58 +0100)]
UCT: Add basic support for graceful jigo handling (integer komi games)
Petr Baudis [Thu, 13 Jan 2011 02:31:23 +0000 (13 03:31 +0100)]
check_group_atari(): If we cannot take liberty due to selfatari, try connecting first
Petr Baudis [Sat, 15 Jan 2011 15:01:15 +0000 (15 16:01 +0100)]
can_atari_group(): Fix the bulkiness check not to prevent connections
Petr Baudis [Thu, 13 Jan 2011 04:08:06 +0000 (13 05:08 +0100)]
check_group_atari(): Pass correct owner parameter
This might help fix use_def_no_hopeless.
Petr Baudis [Sun, 9 Jan 2011 01:43:24 +0000 (9 02:43 +0100)]
Selfatari setup_nakade_or_snapback(): Discern nakade and seki properly
We do not actually examine the shape, but instead in cooperation with
Brett Combs, we have devised a set of static rules that should
characterize the proper bulkiness with almost 100% reliability.
Petr Baudis [Sun, 9 Jan 2011 01:42:14 +0000 (9 02:42 +0100)]
Selfatari: Track neighbors corresponding to groups in groupneis[]
Petr Baudis [Sun, 9 Jan 2011 01:41:18 +0000 (9 02:41 +0100)]
Board: Introduce simple group_stone_count() utility
Petr Baudis [Sun, 9 Jan 2011 01:40:56 +0000 (9 02:40 +0100)]
Selfatari: Check groupids[] against duplicates
Petr Baudis [Sat, 15 Jan 2011 12:48:56 +0000 (15 13:48 +0100)]
Moggy local_nlib_check(): Also look at diagonal neighbors
This is wise to do since we may have connected a false eye.
Jean-loup Gailly [Sat, 22 Jan 2011 11:00:43 +0000 (22 12:00 +0100)]
Moggy: Better nlibrate default for 19x19