Andrew Ekstedt 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
2023-12-06 03:40:44 +00:00
2023-12-06 23:04:25 -08:00
2023-12-04 01:31:35 +00:00
2023-12-06 23:04:25 -08:00
2023-12-07 18:40:44 -08:00
2023-12-07 07:08:20 +00:00
2023-12-08 03:35:54 +00:00
2023-12-08 06:55:04 +00:00
2023-12-09 07:15:58 +00:00
2023-12-10 07:39:06 +00:00
2023-12-12 04:56:27 +00:00
2023-12-12 09:41:08 +00:00
2023-12-13 07:13:37 +00:00
2023-12-14 09:46:06 +00:00
2023-12-16 06:57:12 +00:00
2023-12-17 06:24:26 +00:00
2023-12-17 06:42:34 +00:00
2023-11-30 07:23:24 +00:00
2023-11-30 04:53:50 +00:00
2023-12-14 09:45:13 +00:00
Description
No description provided
322 KiB
Languages
Tcl 50.4%
Python 46.2%
Shell 2.6%
Awk 0.8%