Commit Graph

240 Commits

Author SHA1 Message Date
d7a94c2d57 Board::what_if use Result 2025-02-19 13:43:39 -05:00
6f51c31752 Board::game_winner: remove unneeded argument 2025-02-19 13:40:05 -05:00
1061292409 cleanup board tests 2025-02-19 13:29:35 -05:00
b2b5fb9e2c branchless bitboard set 2025-02-19 13:20:01 -05:00
fef4f64ecd dedup code in Board::what_if 2025-02-19 00:25:47 -05:00
876d829e5e const nits 2025-02-19 00:19:44 -05:00
2ef316ab52 const_fn bitvec + bitvec build fixes 2025-02-18 23:44:56 -05:00
c14e5703ef share some code between bitvec and native 2025-02-18 23:36:12 -05:00
45224bf6c2 cleanup test + ensure chain validity 2025-02-18 22:53:13 -05:00
6bda402a12 Cargo.toml: profiles 2025-02-18 22:41:58 -05:00
52179c040b compiler optimizations + focus the benchmark futher 2025-02-18 22:33:29 -05:00
9854067ca7 bitboard: clarify benchmark stats 2025-02-18 22:17:43 -05:00
5499628be0 add dual impl for bitboard (bitvec and standard) 2025-02-18 22:15:13 -05:00
a759f9f615 usage of TOP_K_CHILDREN 2025-02-18 21:15:59 -05:00
be790c2d9e clippy 2025-02-18 20:21:03 -05:00
176505b897 MAJOR (25%+) perf increase with propegate iterator and copies 2025-02-18 20:13:19 -05:00
3096c4d85b board logic changes 2025-02-18 16:38:05 -05:00
0fea3da31c improve benchmarks and marginal perf improvements 2025-02-18 16:27:04 -05:00
1972707f88 clippy 2025-02-18 15:08:35 -05:00
22bc4876e5 allow dead code 2025-02-18 15:06:51 -05:00
0d0b5786a2 changes + benchmarks 2025-02-18 15:04:21 -05:00
ad28713775 add Move::lazy_children 2025-02-18 13:41:45 -05:00
7ec23f1bab nits 2025-02-18 12:55:15 -05:00
a5aed91392 board: fix display 2025-02-18 12:24:06 -05:00
8842bf6087 improve update_root_coord 2025-02-18 12:18:41 -05:00
937a48f230 prune_unrelated -> refocus_tree 2025-02-18 12:13:59 -05:00
0d4ea1f3c5 simplify code 2025-02-18 12:10:17 -05:00
3376fc1e5b adjust othello board coordinate system to project requirements 2025-02-18 11:32:44 -05:00
3e3649369f logical improvements 2025-02-18 11:14:54 -05:00
cd28790d80 improvements 2025-02-18 02:02:50 -05:00
43585802d8 clippy + cleanup 2025-02-17 15:06:36 -05:00
7049039a77 rewrite basically done 2025-02-17 15:02:15 -05:00
87f58e5e40 rewrite progress 2 2025-02-17 11:54:06 -05:00
127c9874da rewrite progress 2025-02-16 00:34:55 -05:00
9ffc6ecd01 prune agent move tree (8->17 depth) 2025-02-15 23:31:18 -05:00
e257f81fcb two doc comments 2025-02-14 23:18:57 -05:00
92c7e0ca4d optimizations 2025-02-14 11:13:49 -05:00
dafe585f0c some changes 2025-02-13 22:33:37 -05:00
81c08f5407 add comments 2025-02-13 13:39:49 -05:00
9a8b674720 optimize compute_values a TON (reduce depth_of calls)... and other stuff 2025-02-13 00:01:20 -05:00
ad3d31e24a reduce copies 2025-02-12 23:18:14 -05:00
3815ff1a95 add limit to size of arena 2025-02-12 22:33:09 -05:00
a086d75f42 Move logic changes 2025-02-12 21:50:08 -05:00
351953450a changes 2025-02-12 21:24:35 -05:00
2c241948f7 use bitvec 2025-02-12 20:07:29 -05:00
dbd0a97602 fix player order 2025-02-12 11:50:57 -05:00
993af2a191 add const_assert for BitBoard 2025-02-12 10:37:03 -05:00
9a114e2cb9 remove extra call to propegate_from_dry 2025-02-12 10:28:55 -05:00
01ae7be70d bit board improvements 2025-02-12 10:14:48 -05:00
59944e1e9e initial bit board storage 2025-02-12 01:03:05 -05:00