Commit Graph

38 Commits

Author SHA1 Message Date
tali cf9fd27ca0 add comment about copy_queue (non-)usage 2023-04-16 16:38:13 -04:00
tali 04dddcdaa8 drop useless TODO 2023-04-16 15:54:57 -04:00
tali 0fb79906be implement a node transposition table 2023-04-16 15:37:00 -04:00
tali e15637f0dd add benchmark for think() 2023-04-16 15:35:53 -04:00
tali bd840d5705 refactor how suggestion-updates are propagated to Bot and logged 2023-04-16 15:35:50 -04:00
tali 7bb551b362 iteration counter is stored in the Bot, and incr for each evaluation 2023-04-16 03:12:55 -04:00
tali 27e5394a8c more placement info in Node fmt::Debug 2023-04-16 03:12:55 -04:00
tali 51c8d72711 fix reexport of heuristic functions so they can be used by benches 2023-04-16 03:12:55 -04:00
tali 78f4c80e8e remove useless TODO 2023-04-16 03:01:47 -04:00
tali 3445f9e44a add Features and Weights types to fish::eval 2023-04-15 18:25:27 -04:00
tali 32f66bb423 create Evaluator type that manages ratings; compute score relative to root 2023-04-15 18:24:48 -04:00
tali df1913d8f3 impl Display for Queue, impl Debug for Node 2023-04-15 17:29:10 -04:00
tali 5e069cf3ff refactor flood fill to use a more optimal algorithm 2023-04-14 20:27:44 -04:00
tali 5f653db2c9 add criterion benchmarking support, plus some benches 2023-04-14 18:53:21 -04:00
tali 84ba4d8145 shrimplify: find_locations() is not generic 2023-04-14 18:31:30 -04:00
tali 04197d4256 fix comment in downstacking.rs that was being treated as a doctest 2023-04-13 20:27:14 -04:00
tali 66bb54a48c remove all of the old cli impl from fish/, fumen-utils/ 2023-04-13 15:30:29 -04:00
tali 6d1ced46e4 improve lifetime annotation in bot 2023-04-12 15:47:32 -04:00
tali 79695ef1d6 add remark to AStarNode about tiebreakers 2023-04-11 22:39:45 -04:00
tali 2a53e992ae implement cleaned up and well documented version of bot engine 2023-04-11 19:11:40 -04:00
tali a40d336911 ai: enable using hold if it is initially empty 2023-04-11 13:18:13 -04:00
tali 002c0ba37c shrimplify: remove "capabilities" interface
this is also going to be reassessed later
2023-04-11 12:31:35 -04:00
tali 7637f892ae shrimplify: remove FindLocationsBuffers
we will add some sort of similar functionality back later, after we have performance data
to justify it
2023-04-09 18:00:30 -04:00
tali 71efd222eb code quality: downstacking.rs 2023-04-09 14:43:06 -04:00
tali 15d69fe128 WIP: modified A* with bumpalo managed nodes 2023-03-07 19:30:31 -05:00
tali d52e4da215 Add evaluate() function that combines the eval fn's with weights 2023-03-07 19:10:26 -05:00
tali 111ca1a7bb move eval/mod.rs to eval.rs 2023-03-07 17:48:49 -05:00
tali 3e52b6fb71 Fix clippy lints
- format strings
2023-03-05 12:45:04 -05:00
tali c3d144f730 Use tracing crate for logging 2023-03-05 12:45:04 -05:00
tali 7ddc748d35 Guide AI by heuristic evaluation; "best first search" 2023-03-05 12:45:04 -05:00
tali 5313580b2e Implement some basic downstacking heuristics 2023-03-05 12:44:57 -05:00
tali e6bf7ec12b Implement a couple straightforward heuristics 2022-12-21 16:31:52 -05:00
tali f76cc06bc9 Add "best" subcommand to CLI to invoke AI core 2022-12-20 11:19:31 -05:00
tali 90dcc2555a Create initial AI engine core 2022-12-20 11:19:31 -05:00
tali 2f80606eb7 Create fish cli, "list" command 2022-12-20 11:19:31 -05:00
tali 370a0329b9 Add some types to be serialized over IO 2022-12-20 11:12:05 -05:00
tali aade234881 Create DFS find_locations algorithm 2022-12-16 10:22:27 -05:00
tali 0190bdce66 Initialize "fish" crate 2022-12-16 10:22:27 -05:00