-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Stop keeping track of the last N previous directions; we only need to keep the last one, the for how long we have been going in that direction (i.e., the streak) - Create MINIMIZE-HEAT-LOSS, wrapping up A* in terms of :MIN-STREAK-TO-TURN (0 for part1, 4 for part2) and :MAX-STREAK (3 for part1, and 10 for part2)
- Loading branch information
1 parent
8883090
commit bcad8a7
Showing
1 changed file
with
43 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters