pachi/ann.git
13 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/pachimaster
Petr Baudis [Sat, 1 Jan 2011 13:43:06 +0000 (1 14:43 +0100)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi

Conflicts:
uct/policy/ucb1amaf.c

13 years agoUCT engine: change virtual_loss from bool to int
Jean-loup Gailly [Thu, 30 Dec 2010 19:02:06 +0000 (30 20:02 +0100)]
UCT engine: change virtual_loss from bool to int

13 years agoUCT engine: Allow spending more time on a single move
Jean-loup Gailly [Sat, 25 Dec 2010 11:57:13 +0000 (25 12:57 +0100)]
UCT engine: Allow spending more time on a single move

13 years agoDistributed engine: Use larger receive queue to allow longer time settings
Jean-loup Gailly [Sat, 25 Dec 2010 11:27:55 +0000 (25 12:27 +0100)]
Distributed engine: Use larger receive queue to allow longer time settings

13 years agoMerge branch 'master' into test3
Jean-loup Gailly [Sat, 25 Dec 2010 10:54:40 +0000 (25 11:54 +0100)]
Merge branch 'master' into test3

Conflicts:
uct/internal.h
uct/walk.c

13 years agoDistributed engine: Transmit values in double precision
Jean-loup Gailly [Fri, 24 Dec 2010 10:40:52 +0000 (24 11:40 +0100)]
Distributed engine: Transmit values in double precision

13 years agoDebugging: Introduce -D (debug_boardprint) for more gogui friendliness
Petr Baudis [Thu, 23 Dec 2010 17:38:17 +0000 (23 18:38 +0100)]
Debugging: Introduce -D (debug_boardprint) for more gogui friendliness

13 years agoUCB1AMAF local tree: Add missing LTREE_PLAYOUTS_MULTIPLIER division
Petr Baudis [Wed, 22 Dec 2010 18:20:41 +0000 (22 19:20 +0100)]
UCB1AMAF local tree: Add missing LTREE_PLAYOUTS_MULTIPLIER division

13 years agolocal_tree_depth_decay: Introduce
Petr Baudis [Wed, 22 Dec 2010 17:53:37 +0000 (22 18:53 +0100)]
local_tree_depth_decay: Introduce

13 years agoucb1rave_evaluate() ltree_rave: Fix float multiplication
Petr Baudis [Wed, 22 Dec 2010 17:52:41 +0000 (22 18:52 +0100)]
ucb1rave_evaluate() ltree_rave: Fix float multiplication

13 years agoUse correct format when scanning double floating point values.
Jean-loup Gailly [Wed, 22 Dec 2010 17:31:33 +0000 (22 18:31 +0100)]
Use correct format when scanning double floating point values.

13 years agoAllow double for all floating point values in large configurations.
Jean-loup Gailly [Tue, 21 Dec 2010 09:16:41 +0000 (21 10:16 +0100)]
Allow double for all floating point values in large configurations.

13 years agoMerge remote branch 'origin/master'
Petr Baudis [Wed, 15 Dec 2010 17:55:39 +0000 (15 18:55 +0100)]
Merge remote branch 'origin/master'

13 years agoUCT treepool_pickfactor: Introduce for non-uniform treepool selection
Petr Baudis [Wed, 15 Dec 2010 17:55:06 +0000 (15 18:55 +0100)]
UCT treepool_pickfactor: Introduce for non-uniform treepool selection

13 years agoUCT significant: Move out of descent structure, track separately
Petr Baudis [Wed, 15 Dec 2010 11:11:36 +0000 (15 12:11 +0100)]
UCT significant: Move out of descent structure, track separately

13 years agoUCT treepool_setup(): Fix finding best move
Petr Baudis [Wed, 15 Dec 2010 11:11:01 +0000 (15 12:11 +0100)]
UCT treepool_setup(): Fix finding best move

13 years agoDebug prints improvements
Petr Baudis [Wed, 15 Dec 2010 11:09:12 +0000 (15 12:09 +0100)]
Debug prints improvements

13 years agouct_playout_hook(): Fix board_is_valid_play() parameter order
Petr Baudis [Wed, 15 Dec 2010 11:08:07 +0000 (15 12:08 +0100)]
uct_playout_hook(): Fix board_is_valid_play() parameter order

13 years agoTD_GAMES: Fix new deadlock when stop-signal and finish-signal would get coalesced
Petr Baudis [Sun, 12 Dec 2010 23:06:36 +0000 (13 00:06 +0100)]
TD_GAMES: Fix new deadlock when stop-signal and finish-signal would get coalesced

13 years agouct_search_stop_early(): Consider cannot-change break only after estimate gets sensible
Petr Baudis [Sun, 12 Dec 2010 00:57:09 +0000 (12 01:57 +0100)]
uct_search_stop_early(): Consider cannot-change break only after estimate gets sensible

Frequently, scheduler would actually make us enter this check when
played is still == 0, immediately triggering it.

13 years agoMerge commit '460bf'
Petr Baudis [Sat, 11 Dec 2010 22:14:36 +0000 (11 23:14 +0100)]
Merge commit '460bf'

Conflicts:
playout/moggy.c

13 years agoAutotest show: Color lines based on their status
Petr Baudis [Sat, 11 Dec 2010 20:59:58 +0000 (11 21:59 +0100)]
Autotest show: Color lines based on their status

13 years agoAutotest worker: Print twogtp invocation for debugging
Petr Baudis [Sat, 11 Dec 2010 20:59:31 +0000 (11 21:59 +0100)]
Autotest worker: Print twogtp invocation for debugging

13 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Sat, 11 Dec 2010 19:44:27 +0000 (11 20:44 +0100)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi

13 years agoUCT TreePool: Introduce; replays best significant children during playout
Petr Baudis [Sat, 11 Dec 2010 19:44:23 +0000 (11 20:44 +0100)]
UCT TreePool: Introduce; replays best significant children during playout

13 years agoUCT significant node: Make per-color, drop redundant color info
Petr Baudis [Sat, 11 Dec 2010 19:43:16 +0000 (11 20:43 +0100)]
UCT significant node: Make per-color, drop redundant color info

13 years agouct_leaf_node(): Add scaffolding for prepolicy/postpolicy hooks
Petr Baudis [Wed, 8 Dec 2010 10:28:27 +0000 (8 11:28 +0100)]
uct_leaf_node(): Add scaffolding for prepolicy/postpolicy hooks

13 years agoCompilation fix. Oops.
Petr Baudis [Wed, 8 Dec 2010 10:27:28 +0000 (8 11:27 +0100)]
Compilation fix. Oops.

13 years agoTD_GAMES: Do not crash when pondering is enabled (fix 95e09d4)
Jean-loup Gailly [Tue, 7 Dec 2010 20:16:38 +0000 (7 21:16 +0100)]
TD_GAMES: Do not crash when pondering is enabled (fix 95e09d4)

13 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Tue, 7 Dec 2010 09:52:02 +0000 (7 10:52 +0100)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi

13 years agoREADME: Add a note on board symmetry, suggested by Francois
Petr Baudis [Tue, 7 Dec 2010 01:57:35 +0000 (7 02:57 +0100)]
README: Add a note on board symmetry, suggested by Francois

13 years agoWith TD_GAMES, perform an exact number of playouts
Francois van Niekerk [Tue, 7 Dec 2010 01:53:37 +0000 (7 02:53 +0100)]
With TD_GAMES, perform an exact number of playouts

Patch by Francois, some enhancements by Pasky.

13 years agoUCT descent: Introduce information on last significant node
Petr Baudis [Mon, 6 Dec 2010 17:36:43 +0000 (6 18:36 +0100)]
UCT descent: Introduce information on last significant node

This will be useful e.g. for pool-rave. The threshold of significancy is
configurable. (The default value comes from the pool RAVE paper.)

13 years agoPlayout: Support for engine hooks altering policy decisions
Petr Baudis [Mon, 6 Dec 2010 16:48:13 +0000 (6 17:48 +0100)]
Playout: Support for engine hooks altering policy decisions

13 years agoPlayout choose: Take also playout_setup * parameter
Petr Baudis [Mon, 6 Dec 2010 12:36:54 +0000 (6 13:36 +0100)]
Playout choose: Take also playout_setup * parameter

13 years agojoseki19.pdict: Dictionary with lines auto-extracted from Kogo
Petr Baudis [Sun, 5 Dec 2010 11:47:39 +0000 (5 12:47 +0100)]
joseki19.pdict: Dictionary with lines auto-extracted from Kogo

13 years agojoseki*.dict: Skip lines starting with #
Petr Baudis [Sun, 5 Dec 2010 11:40:52 +0000 (5 12:40 +0100)]
joseki*.dict: Skip lines starting with #

13 years agoMerge branch 'derm6'
Jean-loup Gailly [Sun, 5 Dec 2010 01:19:29 +0000 (5 02:19 +0100)]
Merge branch 'derm6'

13 years agofbook: Fix for distributed mode
Jean-loup Gailly [Sun, 5 Dec 2010 00:46:06 +0000 (5 01:46 +0100)]
fbook: Fix for distributed mode

13 years agobook.dat: Remove, it turns out it is GPLv3 while Pachi is GPLv2
Petr Baudis [Sat, 4 Dec 2010 16:20:53 +0000 (4 17:20 +0100)]
book.dat: Remove, it turns out it is GPLv3 while Pachi is GPLv2

13 years ago2lib solver: Improve the no-lib-gain test
Petr Baudis [Sat, 4 Dec 2010 01:56:48 +0000 (4 02:56 +0100)]
2lib solver: Improve the no-lib-gain test

13 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Sat, 4 Dec 2010 00:23:04 +0000 (4 01:23 +0100)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi

13 years ago2lib solver: Do not try hopeless escapes
Petr Baudis [Fri, 3 Dec 2010 16:51:41 +0000 (3 17:51 +0100)]
2lib solver: Do not try hopeless escapes

13 years agofbook: In case of multiple candidates, pick a semi-random one instead of the first one
Petr Baudis [Fri, 3 Dec 2010 03:41:13 +0000 (3 04:41 +0100)]
fbook: In case of multiple candidates, pick a semi-random one instead of the first one

13 years agofbook: Properly flip not just sequences, but also the final coordinate
Petr Baudis [Fri, 3 Dec 2010 03:32:23 +0000 (3 04:32 +0100)]
fbook: Properly flip not just sequences, but also the final coordinate

13 years agofbook genmove: Add debug print for out-of-fbook too
Petr Baudis [Fri, 3 Dec 2010 03:31:38 +0000 (3 04:31 +0100)]
fbook genmove: Add debug print for out-of-fbook too

13 years agofbook: Deal with conflicts properly, make the hash size smaller
Petr Baudis [Fri, 3 Dec 2010 03:19:05 +0000 (3 04:19 +0100)]
fbook: Deal with conflicts properly, make the hash size smaller

13 years agogenmove: Always make sure the timer is running
Petr Baudis [Fri, 3 Dec 2010 02:57:50 +0000 (3 03:57 +0100)]
genmove: Always make sure the timer is running

Doing this in timer_stop_conditions() was just wrong. And in case of
fbook, that simply never gets done.

13 years agofbook: Use only at the game beginning (until first mismatch)
Petr Baudis [Fri, 3 Dec 2010 01:07:07 +0000 (3 02:07 +0100)]
fbook: Use only at the game beginning (until first mismatch)

13 years agofbook: Fix double free of fbook structure
Petr Baudis [Fri, 3 Dec 2010 01:00:54 +0000 (3 02:00 +0100)]
fbook: Fix double free of fbook structure

13 years agobook.dat: Introduce fbook data file, from Fuego r1174
Petr Baudis [Wed, 1 Dec 2010 02:21:30 +0000 (1 03:21 +0100)]
book.dat: Introduce fbook data file, from Fuego r1174

13 years agoIntroduce Fuego-compatible forcing opening book (fbook)
Petr Baudis [Wed, 1 Dec 2010 02:20:03 +0000 (1 03:20 +0100)]
Introduce Fuego-compatible forcing opening book (fbook)

13 years agoUCT book -> tbook (tree book), added short explanation to HACKING
Petr Baudis [Mon, 29 Nov 2010 18:26:39 +0000 (29 19:26 +0100)]
UCT book -> tbook (tree book), added short explanation to HACKING

13 years agoREADME: Elaborate command-line usage
Petr Baudis [Mon, 29 Nov 2010 17:54:11 +0000 (29 18:54 +0100)]
README: Elaborate command-line usage

13 years agouct_state_init(): Major rearrangement of command-line options to topical sections
Petr Baudis [Mon, 29 Nov 2010 17:45:09 +0000 (29 18:45 +0100)]
uct_state_init(): Major rearrangement of command-line options to topical sections

13 years agoGTP uct_evaluate: Add a hacker-friendly description
Petr Baudis [Thu, 25 Nov 2010 02:01:11 +0000 (25 03:01 +0100)]
GTP uct_evaluate: Add a hacker-friendly description

13 years agoAdd support for situation analysis: uct_evaluate
Petr Baudis [Thu, 25 Nov 2010 01:56:45 +0000 (25 02:56 +0100)]
Add support for situation analysis: uct_evaluate

Inspired by Magnus Javerberg.

13 years agoUct prior: use cfgd=3%40%20%20 as default, better for usual time settings
Jean-loup Gailly [Sun, 21 Nov 2010 12:53:55 +0000 (21 13:53 +0100)]
Uct prior: use cfgd=3%40%20%20 as default, better for usual time settings

13 years agoDistributed engine: allow shared_levels=0
Jean-loup Gailly [Fri, 19 Nov 2010 19:02:10 +0000 (19 20:02 +0100)]
Distributed engine: allow shared_levels=0

13 years agoMerge branch 'master' of ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Thu, 18 Nov 2010 00:43:09 +0000 (18 01:43 +0100)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/pachi

13 years agoUCT prior: Fix cfgd levels parsing
Petr Baudis [Thu, 18 Nov 2010 00:42:50 +0000 (18 01:42 +0100)]
UCT prior: Fix cfgd levels parsing

13 years agoDistributed engine: wait for enough slave replies before early stop.
Jean-loup Gailly [Sun, 14 Nov 2010 18:36:35 +0000 (14 19:36 +0100)]
Distributed engine: wait for enough slave replies before early stop.

13 years agoMoggy mq_tag: Base at 0, not 1 (one extra bit available)
Petr Baudis [Tue, 9 Nov 2010 17:42:38 +0000 (9 18:42 +0100)]
Moggy mq_tag: Base at 0, not 1 (one extra bit available)

13 years agoMoggy: More detailed initial description
Petr Baudis [Tue, 9 Nov 2010 17:42:06 +0000 (9 18:42 +0100)]
Moggy: More detailed initial description

13 years agoplayout_moggy_fullchoose(): Remove rates, always consider all candidates
Petr Baudis [Tue, 9 Nov 2010 11:56:58 +0000 (9 12:56 +0100)]
playout_moggy_fullchoose(): Remove rates, always consider all candidates

13 years agopattern.h: Warn that FEAT_PATTERN3 broke
Petr Baudis [Mon, 8 Nov 2010 19:37:44 +0000 (8 20:37 +0100)]
pattern.h: Warn that FEAT_PATTERN3 broke

13 years agoplayout_moggy_partchoose() -> playout_moggy_seqchoose()
Petr Baudis [Mon, 8 Nov 2010 19:24:58 +0000 (8 20:24 +0100)]
playout_moggy_partchoose() -> playout_moggy_seqchoose()

As in, we sequentially perform various tests.

13 years agopat_90rot(): Fix atari info rotation
Petr Baudis [Mon, 25 Oct 2010 22:11:59 +0000 (26 00:11 +0200)]
pat_90rot(): Fix atari info rotation

Spotted by jlg.

13 years agoMoggy: Add atari information to couple of patterns
Petr Baudis [Mon, 25 Oct 2010 22:11:29 +0000 (26 00:11 +0200)]
Moggy: Add atari information to couple of patterns

I tried adding atari info to all of them, but it is not always beneficial, surprisingly.

13 years agoPattern3: Use zobrist hash of the 3x3 area for indexing
Petr Baudis [Sat, 23 Oct 2010 00:45:59 +0000 (23 02:45 +0200)]
Pattern3: Use zobrist hash of the 3x3 area for indexing

13 years ago3x3 patterns: Include atari information for direct neighbors
Petr Baudis [Fri, 22 Oct 2010 00:57:42 +0000 (22 02:57 +0200)]
3x3 patterns: Include atari information for direct neighbors

This was not considered in the original Mogo paper, but seems to be a common practice nowadays and promises a good strength increase.

13 years agoforeach_neighbor(): Iterate in-line, row-row-row
Petr Baudis [Fri, 22 Oct 2010 00:55:16 +0000 (22 02:55 +0200)]
foreach_neighbor(): Iterate in-line, row-row-row

13 years agoMoggy: Default korate, alwaysccaprate 0 -> 20
Petr Baudis [Thu, 21 Oct 2010 20:39:33 +0000 (21 22:39 +0200)]
Moggy: Default korate, alwaysccaprate 0 -> 20

Perhaps higher would be ok, but while the results give positive hints, they are not nearly conclusive.

13 years agopattern3s: Add support for pattern table smaller than the hash range
Petr Baudis [Fri, 15 Oct 2010 21:36:23 +0000 (15 23:36 +0200)]
pattern3s: Add support for pattern table smaller than the hash range

This of course brings non-trivial overhead, but we also need to carry
atari status for each stone in the pattern.

13 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Fri, 15 Oct 2010 21:28:38 +0000 (15 23:28 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi

13 years agopattern_record(): Record only single pattern, called twice now
Petr Baudis [Fri, 15 Oct 2010 16:36:14 +0000 (15 18:36 +0200)]
pattern_record(): Record only single pattern, called twice now

13 years agopattern3_record(): Take pattern3s instead of direct table pointer
Petr Baudis [Fri, 15 Oct 2010 16:34:02 +0000 (15 18:34 +0200)]
pattern3_record(): Take pattern3s instead of direct table pointer

13 years agoMove selfatari_cousin() from Moggy to tactics/selfatari.c
Petr Baudis [Thu, 14 Oct 2010 16:07:27 +0000 (14 18:07 +0200)]
Move selfatari_cousin() from Moggy to tactics/selfatari.c

13 years agoMove group_2lib_check() et al. from Moggy to tactics/2lib.c
Petr Baudis [Thu, 14 Oct 2010 16:00:29 +0000 (14 18:00 +0200)]
Move group_2lib_check() et al. from Moggy to tactics/2lib.c

13 years agoMoggy group_2lib_check(): Take tag argument explicitly
Petr Baudis [Thu, 14 Oct 2010 11:28:06 +0000 (14 13:28 +0200)]
Moggy group_2lib_check(): Take tag argument explicitly

13 years agogroup_wlib_check(): Drop unused playout_policy parameter
Petr Baudis [Wed, 13 Oct 2010 15:24:47 +0000 (13 17:24 +0200)]
group_wlib_check(): Drop unused playout_policy parameter

13 years agoMake default pruning_threshold 10% of actual max_tree_size.
Jean-loup Gailly [Wed, 13 Oct 2010 21:07:54 +0000 (13 23:07 +0200)]
Make default pruning_threshold 10% of actual max_tree_size.
Pointed out by pasky.

13 years agoAdd pruning_threshold option to allow forced tree pruning when
Jean-loup Gailly [Tue, 12 Oct 2010 21:21:42 +0000 (12 23:21 +0200)]
Add pruning_threshold option to allow forced tree pruning when
memory is tight. Increase memory reserved for tree pruning to 20%.

13 years agoUndef errorneously defined BOARD_GAMMA
Petr Baudis [Mon, 11 Oct 2010 10:23:11 +0000 (11 12:23 +0200)]
Undef errorneously defined BOARD_GAMMA

13 years agoMerge branch 'master' of ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Mon, 11 Oct 2010 10:22:12 +0000 (11 12:22 +0200)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/pachi

13 years agoMove group_atari_check() et al. to tactics/1lib.c.
Petr Baudis [Mon, 11 Oct 2010 10:22:05 +0000 (11 12:22 +0200)]
Move group_atari_check() et al. to tactics/1lib.c.

13 years agoSwitch tactics.a linking order to avoid linker errors
Petr Baudis [Mon, 11 Oct 2010 10:21:43 +0000 (11 12:21 +0200)]
Switch tactics.a linking order to avoid linker errors

13 years agoMoggy group_atari_check(): Work with raw tags instead of enum mq_tag
Petr Baudis [Mon, 11 Oct 2010 10:18:48 +0000 (11 12:18 +0200)]
Moggy group_atari_check(): Work with raw tags instead of enum mq_tag

13 years agoPachi Chihaku-devel 6.99
Petr Baudis [Mon, 11 Oct 2010 00:26:44 +0000 (11 02:26 +0200)]
Pachi Chihaku-devel 6.99

13 years agoPachi Dochi 6.00pachi-6.00-dochi
Petr Baudis [Mon, 11 Oct 2010 00:24:41 +0000 (11 02:24 +0200)]
Pachi Dochi 6.00

13 years agoMoggy group_atari_check(): Remove the rest of playout_data dependencies
Petr Baudis [Sun, 10 Oct 2010 23:26:23 +0000 (11 01:26 +0200)]
Moggy group_atari_check(): Remove the rest of playout_data dependencies

13 years agois_ladder(): Remove two extra switches (always true now)
Petr Baudis [Sun, 10 Oct 2010 23:23:50 +0000 (11 01:23 +0200)]
is_ladder(): Remove two extra switches (always true now)

13 years agoMoggy: Remove ladder-related options (obsolete, should always be enabled)
Petr Baudis [Sun, 10 Oct 2010 23:21:28 +0000 (11 01:21 +0200)]
Moggy: Remove ladder-related options (obsolete, should always be enabled)

13 years agoMoggy: Remove old, dusty and ineffective assess_local
Petr Baudis [Sun, 10 Oct 2010 23:19:05 +0000 (11 01:19 +0200)]
Moggy: Remove old, dusty and ineffective assess_local

13 years agoMoggy group_atari_check(): Do not pass playout_policy to subroutines
Petr Baudis [Sun, 10 Oct 2010 23:15:34 +0000 (11 01:15 +0200)]
Moggy group_atari_check(): Do not pass playout_policy to subroutines

13 years agoTactics: Split out selfatari.c and ladder.c
Petr Baudis [Sun, 10 Oct 2010 22:55:35 +0000 (11 00:55 +0200)]
Tactics: Split out selfatari.c and ladder.c

13 years agotactics.*: Move to a dedicated subdirectory; initial file is tactics/util.*
Petr Baudis [Sun, 10 Oct 2010 22:45:28 +0000 (11 00:45 +0200)]
tactics.*: Move to a dedicated subdirectory; initial file is tactics/util.*

13 years agoMoggy: Remove support for group state keeping; never-working cruft
Petr Baudis [Sun, 10 Oct 2010 22:23:22 +0000 (11 00:23 +0200)]
Moggy: Remove support for group state keeping; never-working cruft

13 years agoSupport BOARD_GAMMA without BOARD_TRAITS
Petr Baudis [Sun, 10 Oct 2010 21:44:34 +0000 (10 23:44 +0200)]
Support BOARD_GAMMA without BOARD_TRAITS

In this setup, it incrementally keeps probdist just of pat3.

13 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
Petr Baudis [Sun, 10 Oct 2010 21:00:06 +0000 (10 23:00 +0200)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi