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

best_first_search-0.0.2-py3-none-any.whl (7.7 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