GithubHelp home page GithubHelp logo

langokalla / a-star-pathfinder Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 8.0 23 KB

License: MIT License

Python 100.00%
a-star a-star-algorithm breadth-first-search dijkstra dijkstra-algorithm pathfinding shortest-path tkinter visualization

a-star-pathfinder's People

Contributors

langokalla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

a-star-pathfinder's Issues

multithreading?

could you create an example of ripping the same graph using multiprocessor module?

Doesn't work on the latest mac os version

seven@macmini A-star-Pathfinder-master % python app.py
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
Exception in Tkinter callback
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1547, in call
return self.func(*args)
File "app.py", line 99, in
execute_button = tk.Button(root, text="Run!", bg="green", command=lambda *args: self.run(self.algo, self.level))
File "app.py", line 131, in run
b = Board(c, m)
File "/private/tmp/A-star-Pathfinder-master/board.py", line 34, in init
self.populate_tiles()
File "/private/tmp/A-star-Pathfinder-master/board.py", line 122, in populate_tiles
t = Tile(self.map.board[r][c], r, c, size) # Makes a tile.
File "/private/tmp/A-star-Pathfinder-master/tile.py", line 43, in init
'#': math.inf,
AttributeError: 'module' object has no attribute 'inf'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.