Skip to content

Instantly share code, notes, and snippets.

View frankhale's full-sized avatar
🧩
Building a SaaS

Frank Hale frankhale

🧩
Building a SaaS
View GitHub Profile
# Credit for this: Nicholas Swift
# as found at https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2
from warnings import warn
import heapq
class Node:
"""
A node class for A* Pathfinding
"""
(defn actions [array-of-funcs]
(doseq [func array-of-funcs] (func)))