Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2016 AdventOfCode in Dart

https://adventofcode.com/2016

Day 22: Grid Computing
Solution uses dijkstra for path finding, so it is very general. Too large nodes are treated as walls. Initially a path from G to [.] is computed. Then G is moved along it, but before each move an empty node is moved on the next position on the G-s way. Each time to move empty node to this position dijkistra is used.
[.] - this is the node where G nodes data is to be moved
G - node with data which we want to move to [.]
. - nodes whose size of used data does not exceed the size of the empty node
# blue - represents nodes whose size of used data exceeds the size of the empty node
_ - is the only empty node, used to move data
yellow blocks - are the paths along which the empty space is being moved Day 22: Grid Computing

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages