[ANN] ubergraph 0.8.0 - new features and speed improvements

408 views
Skip to first unread message

Mark Engelberg

unread,
Aug 20, 2019, 2:47:03 AM8/20/19
to clojure
Ubergraph is a batteries-loaded, immutable graph data structure for Clojure.

One of the most useful aspects of ubergraph has always been its super-charged shortest-path function, which encompasses least-distance, least-cost, and A* searches; targeted endpoints or open-ended searches; strict results or lazy sequences of search progress.

Now, ubergraph's powerful shortest-path function can be used in search contexts other than ubergraph -- all you need to do is define a transition function and you can run its sophisticated search algorithms. This is especially useful when you are dealing with an infinite number of states, or a state space which is unknown (e.g., a puzzle where you know the starting configuration and transition rules, but don't know the states you can get to).

A new function, paths->graph, will convert the search results into an ubergraph for further analysis.


Finally, all the nested map access has been rewritten using the powerful specter library for improved speed. Thanks to those who tested the specter branch for this release.
Reply all
Reply to author
Forward
0 new messages