Update more dict/set references

This commit is contained in:
Ayaz Hafiz 2023-01-12 13:25:57 -06:00 committed by Folkert
parent ab796d93ff
commit 3d0a0a4a99
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
10 changed files with 42 additions and 42 deletions

View file

@ -14,10 +14,10 @@ Model position : {
initialModel : position -> Model position | position has Hash & Eq
initialModel = \start -> {
evaluated: Set.empty,
evaluated: Set.empty {},
openSet: Set.single start,
costs: Dict.single start 0,
cameFrom: Dict.empty,
cameFrom: Dict.empty {},
}
cheapestOpen : (position -> F64), Model position -> Result position {} | position has Hash & Eq