Commit graph

45 commits

Author SHA1 Message Date
Emi Simpson 5b1f6ce1ba
Add writeup 2023-02-12 21:55:26 -05:00
Emi Simpson e504026cfe
We don't stop with the opt! 2023-02-12 18:39:46 -05:00
Emi Simpson f05e1ef3c6
Merge branch 'main' into the-lab 2023-02-12 18:11:14 -05:00
Emi Simpson 91ebe8d055
Add a trace() and profile() utility 2023-02-12 18:07:32 -05:00
Emi Simpson 4680fb6090
Optimize search even further 2023-02-12 17:55:06 -05:00
Emi Simpson 5fac1d9c25
Scattered optimizations for pathfinding 2023-02-12 17:23:31 -05:00
Emi Simpson 66bd8bbec8
A couple optimizations to file load speeds 2023-02-12 16:58:59 -05:00
Emi Simpson c71ea2616e
Merge branch 'main' into the-lab 2023-02-12 16:58:14 -05:00
Emi Simpson d7dab8e4b0
Make note use lazy evaluation 2023-02-12 16:57:23 -05:00
Emi Simpson cdcbee5fdf
Add MORE detail to main 2023-02-12 16:36:23 -05:00
Emi Simpson 92c545fab1
Make main executable 2023-02-12 16:19:40 -05:00
Emi Simpson 2486e9bf97
Print more information in main 2023-02-12 16:19:13 -05:00
Emi Simpson 8236281181
Added path length calculations 2023-02-12 16:06:28 -05:00
Emi Simpson 1e420e83e9
More obvious number notation 2023-02-12 11:50:11 -05:00
Emi Simpson 5f072dfd92
Add a silly little shebang 2023-02-12 11:48:56 -05:00
Emi Simpson 8904060f3a
Use a more conservative heuristic 2023-02-12 11:13:03 -05:00
Emi Simpson c31b532a88
Add checkpoint list parsing 2023-02-12 11:10:07 -05:00
Emi Simpson e188ff2210
Tweak a couple types 2023-02-12 11:09:53 -05:00
Emi Simpson 0d728f62bd
Merge branch 'main' into the-lab 2023-02-12 11:09:06 -05:00
Emi Simpson 2665f8ff98
Change sequence() to return a list 2023-02-12 11:08:30 -05:00
Emi Simpson df341496ea
Merge branch 'main' into the-lab 2023-02-11 23:59:37 -05:00
Emi Simpson 96e7a51ccc
Add unwrap_opt 2023-02-11 23:59:05 -05:00
Emi Simpson 057cc766ed
Add a function to save an actual image 2023-02-11 23:58:01 -05:00
Emi Simpson 3b56092319
Clean up 2023-02-11 23:56:53 -05:00
Emi Simpson c0d5d69309
Add a function to convert a map to raw image data 2023-02-11 22:19:37 -05:00
Emi Simpson 1fafbafc31
Add a function for pathfinding between multiple nodes 2023-02-11 21:27:49 -05:00
Emi Simpson 4c95e515e0
Basic pathfinding: Complete! 2023-02-11 17:08:26 -05:00
Emi Simpson 873d622d25
Add a goal function to the world 2023-02-11 12:20:53 -05:00
Emi Simpson c8080e8bc2
Add heuristic and neighbor functions for the world 2023-02-11 12:19:47 -05:00
Emi Simpson 3811e55711
Added an A* routing algorithm 2023-02-10 21:27:40 -05:00
Emi Simpson c3e5146029
Minor whitespace changes 2023-02-10 21:08:32 -05:00
Emi Simpson e55497b1cd
Add ability to load data from terrain map 2023-02-10 19:02:14 -05:00
Emi Simpson bfd93bd55b
Use simpler form for doctests 2023-02-10 16:35:01 -05:00
Emi Simpson e60a62a3df
Merge branch 'main' into the-lab 2023-02-10 16:34:56 -05:00
Emi Simpson 1c3558828d
Add in some doctests 2023-02-10 16:33:54 -05:00
Emi Simpson a5446551c2
Add imports 2023-02-10 16:33:00 -05:00
Emi Simpson 63eda6d69c
Add ability to read in elevation data 2023-02-10 14:50:34 -05:00
Emi Simpson 6577717cbf
Add a function replace() 2023-02-10 08:32:25 -05:00
Emi Simpson b13531aecf
Documentation! 2023-02-09 21:28:44 -05:00
Emi Simpson a018831a49
Scatter in some more functions 2023-02-09 20:46:55 -05:00
Emi Simpson 179198e59d
More utilities for options&results 2023-02-08 21:44:43 -05:00
Emi Simpson bdca0186da
Added option and result types 2023-02-08 21:32:24 -05:00
Emi Simpson b11f2fa8ea
Rename all_ to not be private 2023-02-07 17:01:46 -05:00
Emi Simpson 1e27ab5293
Improve use of ParamSpec 2023-02-07 17:01:31 -05:00
Emi Simpson adddc0704d
Some funky lil funktions 2023-02-07 11:59:55 -05:00