I thought it would be interesting to make a version which spits out the paths: http://github.com/timothypratley/strive/blob/master/clj/sandpit/fw.clj
shortest-path 7 2: ({:node 7, :step-cost 0, :remaining-cost 6} {:node 8, :step-cost 1, :remaining-cost 5} {:node 6, :step-cost 1, :remaining-cost 4} {:node 3, :step-cost 1, :remaining-cost 3} {:node 0, :step-cost 1, :remaining-cost 2} {:node 1, :step-cost 1, :remaining-cost 1} {:node 2, :step-cost 1, :remaining-cost 0}) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---