Skip to main content

Priority Queue For A* Search

Anyone of you can use this package to handle the priority Queue part of your A* Search code. Github Open Source

using process

First need to add the library

pip install prioQbyrobi

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

import prioQbyrobi 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

Metadata

Release files for prioQbyrobi 2.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prioQbyrobi 2.0.6
File Size Uploaded
prioQbyrobi-2.0.6.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prioQbyrobi 2.0.6
File Interpreter ABI Platform
prioQbyrobi-2.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / prioQbyrobi-2.0.6.tar.gz

Download URL prioQbyrobi-2.0.6.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
665176529f683bfdf559e4334a9b6267a186fcaf0ec3852de9bf02e3f6dce895
BLAKE2b-256 checksum
How to use checksums
4db2391eff51b29d799a4223924710fda71b239290cb29871a9e0cbcb4bcf64c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / prioQbyrobi-2.0.6-py3-none-any.whl

Download URL prioQbyrobi-2.0.6-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09fabbd92ce13fed6f94288a38d30f2e962c5858b5150cf148deccae3cd26c6c
BLAKE2b-256 checksum
How to use checksums
bf9c246cc65193ab040056f6b913c547f4c1fa7c6a497b0f70d4f8fc1492cbde
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0.6 This release

2 release files

2.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page