Go to file
magical fe76e83e98 day 17 fix cost calculation
i was accidentally using the previous coordinates to calculate the cost
for each node, which means the A* search was effectively calculating the
cost of the return trip instead of the forward path.
doesn't affect the path at all - the start and end nodes are fixed, so
it doesn't matter whether their costs are included or not - but it does
mean that the cost being returned at the end was off by ((value at end
point) - (value at start point)) compared to the expected value.
2023-12-17 06:42:34 +00:00
day01 day 1 part 2 tcl solution 2023-12-06 03:40:44 +00:00
day02 day 2 tcl solution 2023-12-06 23:04:25 -08:00
day03 day 3 slight simplification 2023-12-04 01:31:35 +00:00
day04 day 4 tcl solution 2023-12-06 23:04:25 -08:00
day05 day 5 tcl solution 2023-12-07 18:40:44 -08:00
day06 trim 2023-12-07 07:08:20 +00:00
day07 the hand speaks 2023-12-08 03:35:54 +00:00
day08 day 8 part 2 solution 2023-12-08 06:55:04 +00:00
day09 add a note 2023-12-09 07:15:58 +00:00
day10 day 10 much faster fill with numpy 2023-12-10 07:39:06 +00:00
day11 day 11 part 2 2023-12-12 04:56:27 +00:00
day12 day 12 cleanup 2023-12-12 09:41:08 +00:00
day13 add more helpers 2023-12-13 07:13:37 +00:00
day14 day 14 part 2 2023-12-14 09:46:06 +00:00
day15 day 15 use dicts 2023-12-16 06:57:12 +00:00
day16 day 16 cleanup 2023-12-17 06:24:26 +00:00
day17 day 17 fix cost calculation 2023-12-17 06:42:34 +00:00
.gitignore ignore cookie file 2023-11-30 07:23:24 +00:00
cron.sh cron job tweaks 2023-11-30 04:53:50 +00:00
prelude.tcl day 14 part 1 2023-12-14 09:45:13 +00:00