A package to solve maze problem using A-star Algorithm.
Project description
Usage
To Install this package. Use :
pip install pathsolver
To launch the application :
from pathsolver import solve
maze = [[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 1, 1, 1, 1, 0],
[0, 1, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 1, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0]]
start = (5, 3)
end = (2, 2)
output, path = solve(maze, start, end)
- Credits: Nicholas-Swift (https://gist.github.com/Nicholas-Swift/003e1932ef2804bebef2710527008f44)
- Visit our GitHub Repository for more information: https://github.com/toshihiroryuu/PyPi--Package---pathsolver
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pathsolver-1.0.1.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pathsolver-1.0.1.tar.gz.
File metadata
- Download URL: pathsolver-1.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
332bd74b8a38eff71a831e675d8d612d4d3b0f6d6203a0dfd6844916ba6dc155
|
|
| MD5 |
fff7438e22fcd80e8952142b4e4110d1
|
|
| BLAKE2b-256 |
730997f848100c5d437175dcea65b68bc0b9aebd57c4b535a02afe56ff6ffec5
|
File details
Details for the file pathsolver-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pathsolver-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87b0c292cf12b8110787ca39b54dcfd4cdd795c66cd6815492bd5e869fcd9d3f
|
|
| MD5 |
45c1e1252f5e2718e01311adeba9d390
|
|
| BLAKE2b-256 |
615ef2b8b0f802d111e594ad8d7ba4bfa4cc9d8fdef5cfb7c89c68b52c896f31
|