Skip to main content

A package for priority queue to make A* Search

Project description

A* Search Algorithm.

Anyone of you can use this library to do A* search Github Open Source

using process

First need to add the library

pip install astarRobi

Then you need to import the A* Search specific queue from the library

import asterRobi as Q

minQ = Q.PriorityQueue() #Creating an object of PriorityQueue class of the library
minQ.insert(yournodeObj) #inserting your node object into the Queue
minQ.delete() # popping your node object from the priority queue

##Existing methods

  • insert() - insert node object.
  • delete() - pop min element and return it.
  • isEmpty() - return true if queue is empty.
  • size() - it returns length of the queue.

N.B: You must need to declare a variable name "total_cost" the priority is prioritized based on this

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astarRobi-1.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astarRobi-1.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file astarRobi-1.0.2.tar.gz.

File metadata

  • Download URL: astarRobi-1.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for astarRobi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3de123c6ffc4be5c9039ff506ef5d5de1ec85e1bd7674c53c04dd6bfdb0d2988
MD5 b94f3531c417dd06949f1b220701ae8d
BLAKE2b-256 7686a302e8abac29c9b21f8ce6d47ed9c5eb9c6d85270e69b424f9933c5dd618

See more details on using hashes here.

File details

Details for the file astarRobi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: astarRobi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for astarRobi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fbdcc14bcd37ff920e9ba45601e5d7ab0cb93cb9d0c35153b877bb0c42a5673c
MD5 94fcf1d4f2180b3264a0ec3e571e65fc
BLAKE2b-256 638340c48bcb20f2835ff4dc39df5ceee6b8ac9dd53232c4596865d01eea411a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page