Giter Site home page Giter Site logo

blitz-path's Introduction

blitz-path

Rust

Source for my experiments in implementing various pathfinding algorithms in rust. Currently in a very wip state. It relies on the movingai-rust crate for map implementation and testing / benchmarks.

It currently provides implementations of the A* and JPS pathfinding algorithms.

Usage

Provides a Route struct representing a path between two points and functions for each algorithm to calculate the shortest Route between two points.

Testing

The .map and .scen files used for integration tests were provided by the Moving AI Lab and are distributed with permission.

blitz-path's People

Contributors

auterium avatar bezpowell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

blitz-path's Issues

Investigate failing scenarios.

Currently the JPS implementation fails to find a valid path in 5 out of the 8010 tests in the maze512-32-9.map.scen file. I need to spend some time investigating what is causing those particular tests to fail, and if any of .scen files have failing tests.

Write some proper documentation.

This can probably wait until the code is a in a better state and could be of some use to others (and I have decided on an API structure).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.