Show HN: I wrote a program in Zig to solve my friend's riddle (git.sr.ht) 4 points by alecst 5y ago ↗ HN
[–] isbwkisbakadqv 5y ago ↗ Could potentially speed it up by1. Preferentially exploring branches that are closer to the target. A reasonable distance metric would be min number of steps needed to get from “here” to goal.2. Explore forwards and backwards.
1 comment
[ 3.2 ms ] story [ 14.5 ms ] thread1. Preferentially exploring branches that are closer to the target. A reasonable distance metric would be min number of steps needed to get from “here” to goal.
2. Explore forwards and backwards.