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.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

astarRobi-1.0.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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