Skip to main content

My package description

Project description

Best first search, using pre-sorted iterators

build codecov

sample_astar

It finds the minimum cost path on a graph, where the cost of a path is linear sum of each edge's weight in it. To call the function, the followings are required:

  • termination condition
  • neighbor iterator; pre sorting the iterator helps the performance so that it iterates through each neighbor in ascending order of cost.
  • cost addition function; in case you want to inject relaxation

For usage, take a look at best_first_search.example.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

best_first_search-0.0.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file best_first_search-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for best_first_search-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd7fe913649599425d9cc179c564a761907e196a072cfcd5029149ff716dea3
MD5 d1e9d88558b053227783bf83beb8ecb7
BLAKE2b-256 b9e9b3308cdc4a7e53d55f649e1deebb6513ba5ccc885a67157c2b05f0be5f1a

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