Commit Graph

14 Commits

Author SHA1 Message Date
3b825ac933 Move manhattan metric function to trait. 2018-12-22 09:40:09 +01:00
db94abf9f7 Implement A* rather than Dijkstra. 2018-12-22 08:38:18 +01:00
71c18e44e1 Implement day 21. 2018-12-21 13:55:39 +01:00
1355a05d2c Implement day 20. 2018-12-20 14:21:20 +01:00
1424c5bfbd Slightly increase optimized section. 2018-12-19 12:30:02 +01:00
9d1fdc63c9 More cleanup. 2018-12-19 08:25:15 +01:00
68c5809e43 Update LOC. 2018-12-19 07:54:13 +01:00
1e26ad1168 Correctness.
From::from may never fail, so I added an invalid state.
2018-12-18 20:00:40 +01:00
0b69a74cff Formatting and LOC update. 2018-12-18 12:06:27 +01:00
33f32fc1ac Update LOC count 2018-12-17 12:31:29 +01:00
851868bed4 Even more clean up.
Removed duplicated code in the descend stage and moved it to different
functions. Also, range finders are no longer technically infinite, but
are assumed to be.
2018-12-17 11:45:23 +01:00
a632bdff10 Clean up. 2018-12-17 08:33:16 +01:00
f175584ccf Update LOC graph. 2018-12-17 08:19:37 +01:00
fbac0fb7f7 Update README.
README now includes a small graphic with the lines of code per day.
2018-12-16 16:27:29 +01:00