Copyright | (c) Eric Mertens 2022 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
https://adventofcode.com/2022/day/24
>>>
:{
:main + "#.######\n\ \#>>.<^<#\n\ \#.<..<<#\n\ \#>v.><>#\n\ \#<^v^^>#\n\ \######.#\n" :} 18 54
Documentation
:: UArray Coord Char | input map |
-> Int | initial time step |
-> Coord | starting location |
-> Coord | ending location |
-> Int | minimum travel time |
Find the shortest time from source to destination starting at a particular time step.
:: UArray Coord Char | input map |
-> SearchState | |
-> SearchState |
Given a set of locations the elf could be find the set the elf can be at next.