Commit Graph

112 Commits

Author SHA1 Message Date
tali e673198704 some inconsequential refactors to tidepool::main 2023-04-16 17:48:35 -04:00
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 73467f4627 reduce default number of iters since deduplication is in effect 2023-04-16 15:37:01 -04:00
tali 0fb79906be implement a node transposition table 2023-04-16 15:37:00 -04:00
tali 588d673ad0 panic if queue is too big 2023-04-16 15:35:53 -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 6a08775a83 add weights configuration to tidepool config 2023-04-15 18:30:26 -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 e439e1cb73 add Output::did_complete() to clarfiy some comparisons 2023-04-15 17:19:43 -04:00
tali 60cde45eea use casts instead of transmute in mino::Mat::new() 2023-04-14 20:27:44 -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 ac487eec38 make Queue::new() a const fn 2023-04-14 17:33:38 -04:00
tali 82311fc9b6 panic=abort 2023-04-14 15:31:51 -04:00
tali d2e315d73b implement multithreaded runner for tidepool 2023-04-14 15:29:40 -04:00
tali 8b60c03232 add SummaryStats util type to tidepool 2023-04-14 15:28:20 -04:00
tali 517a64156a add fancy progress bar :D 2023-04-14 13:25:29 -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 da6885466c cargo update 2023-04-13 20:27:14 -04:00
tali cd73e8c592 more sophisticated syncronization in tidepool, enables graceful C-c 2023-04-13 20:27:14 -04:00
tali d1af51e204 make the output JSON for rotations more compact 2023-04-13 20:16:54 -04:00
tali a76f03687a move tracking # pieces into Simul 2023-04-13 20:16:54 -04:00
tali e62270cd42 very slight improvements to tidepool::sim 2023-04-13 20:16:51 -04:00
tali 66bb54a48c remove all of the old cli impl from fish/, fumen-utils/ 2023-04-13 15:30:29 -04:00
tali fdae258965 create fumen-replay script for use with tidepool data 2023-04-13 15:30:29 -04:00
tali 2a083b1cf5 rewrite sim.rs in javascript for tidepool-utils 2023-04-13 15:25:17 -04:00
tali 059c059fdd create tidepool-utils js package, with prng impl 2023-04-13 14:38:05 -04:00
tali 62f48df58e fix tidepool cli arg groups 2023-04-13 13:44:02 -04:00
tali 2219e96f48 simplify tidepool moves output json 2023-04-13 13:38:29 -04:00
tali 1c8af44523 change PRNG to SplitMix64, add test to monitor determinism 2023-04-12 17:21:39 -04:00
tali 05e6bc3e50 Cheese uses u32 as internal state (for determinism reasons) 2023-04-12 16:43:53 -04:00
tali d61e6588c7 move tidepool::{queue,garbage} all inside the sim module 2023-04-12 16:05:04 -04:00
tali e8351e73be make Queue::reachable() iterator much more lean 2023-04-12 15:49:53 -04:00
tali 6d1ced46e4 improve lifetime annotation in bot 2023-04-12 15:47:32 -04:00
tali 501c333048 tidepool: run a simulation and generate JSON output 2023-04-12 15:07:51 -04:00
tali 8461fb8379 derive Serialize for tidepool::Config 2023-04-12 00:38:50 -04:00
tali 79695ef1d6 add remark to AStarNode about tiebreakers 2023-04-11 22:39:45 -04:00
tali 2910e405be wip: tidepool cli app 2023-04-11 22:39:30 -04:00
tali 14024f63ff add toml config file parsing to tidepool 2023-04-11 20:44:35 -04:00
tali e64b11cefe sim: use usize instead of i16 for garbage level min/max 2023-04-11 20:42:31 -04:00
tali 68cb2cae58 tidepool: seed from u64 2023-04-11 20:03:54 -04:00