4 ms·
My Clojure take on a* was kinda of a journey. I thought I understood the algorithm several times while implementing it. It took me a few passes, now I'm quite h
by reborg 8y ago
My Clojure take on a* was kinda of a journey. I thought I understood the algorithm several times while implementing it. It took me a few passes, now I'm quite happy about the results. Impressive how concise it is compared to the imperative version in other languages. Here if you want to see https://gist.github.com/reborg/c3372428c6ccd7d93289fb7a3a9ec393 https://gist.github.com/reborg/c3372428c6ccd7d93289fb7a3a9ec...
- Scoping_dindus 8y agoThat is a very sexy snippet. I love well written clojure code
- GorgeRonde 8y agoYou should have a look at : https://github.com/TristeFigure/shuriken/blob/ffbff58b19d55581b4ce3e635c1ccfd18ea7e13d/test/shuriken/solver.clj https://github.com/TristeFigure/shuriken/blob/ffbff58b19d555....