söndag 12 februari 2012

A simple graph-walker

I had a bit of inspiration yesterday, so I made a little graphwalker, where you can move around with a (move :room) in the repl:

Note: This is not very high-performant code - there is a special graph-library where the look-up time is O(log n) or something because it pre-caches all the neighbors to a node.

Inga kommentarer:

Skicka en kommentar