Git Product home page Git Product logo

parallel-a-star-algorithm's Introduction

This project implements several parallel A* algorithm, including PNBA*, SPA*, PLA* and HDA*.

Installation and Compilation

To compile the test program, g++ and Intel Thead Building Block(tbb) needs to be installed. 

To install g++, run: 
    sudo apt update
    sudo apt install g++

To install tbb, visit https://software.seek.intel.com/performance-libraries, and download the compressed file.
Decompress it, enter the folder and run bash.sh to install tbb library.
At the root folder of this repo, make a soft link named tbb to the tbb folder of the installed library. (Should be at the $HOME path). Run:
    ln -s $HOME/intel/tbb tbb

To compile the test program, run:
    make

To run the test program, run:
    make run file=maze_case/<maze_case_file>

Several example maze files are provided in the maze_case folder.

Maze Generator

To compile the maze generator, run:
    make maze.java

To generate the maze, run:
    java MazeGenerator <maze_width> <maze_height> <output_file>

Our maze generator are modified based on the maze generator from the following link:
    https://www.rosettacode.org/wiki/Maze_generation#C.2B.2B

Implemented Algorithms.

We implement 4 parallel A* algorithms.
PNBA* is a bidirectional algorithms. It is run only with 2 threads.
SPA*, PLA* and HDA* can be run on multiple threads. In our test program, it is run with 1, 2, 4, 8, 16 and 32 threads.
Details of these algorithms can be found on the papers in the paper folder

parallel-a-star-algorithm's People

Contributors

wenym1 avatar lulufa390 avatar

Watchers

James Cloos avatar

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.