Code Monkey home page Code Monkey logo

lifelong-a-star's Introduction

Team: Cybot (Team Project Topic 2)

In this project we implemented the “D* Lite”, Sven Koenig and Maxim Likhachev, AAAI 2002,and integrated into the Pacman domain for path-finding problems (from start to a fixed goal location).

Authors and Contributions:

  • Setu Durgesh Vinay Annam: Implementation of A* search, Lifelong planning A* search, D* Lite, Looking for online periodic, journals, and public resources to inspire the brain storm and make contribution the project
  • Rishti Gupta: Implementation of A* search, Lifelong planning A* search, D* Lite, Looking for online periodic, journals, and public resources to inspire the brain storm and make contribution the project
  • Satrajit Maitra: Abstract, Introduction, Implementation comparison, technical approach, using pacman domain in the A* search, Lifelong planning A* search, D* Lite , comparing the performance of lifelong planning A* search and D* Lite sections of Final Report, Looking for online periodic, journals, and public resources to inspire the brain storm and make contribution the project
  • Hsin-Jung Lee: Abstract, Introduction, Implementation comparison, technical approach, using pacman domain in the A* search, Lifelong planning A* search, D* Lite , comparing the performance of lifelong planning A* search and D* Lite sections of Final Report, Looking for online periodic, journals, and public resources to inspire the brain storm and make contribution the project

Run the project

Make sure that the Python version to run the project is Python 2.7. If you have python3 installed in your PC by default and do not wish to change it to python 2.7 you may create a virtual environment with python 2.7 which will not disrupt any existing project or dependencies.

  1. Download the project from the git repository using the command below.

git clone https://github.com/vinayannam/Lifelong-A-star.git

  1. Navigate to the directory (using cd directory_name)
  2. The pacman.py uses the search agents from the SearchAgent.py file.
  3. The basic command to play with the pacman in the pacman domain is

python pacman.py

  1. To the pacman we need to specify the layout (using the -l flag) and the agent type (using the -p flag).
  2. The search agent we use is the AStarPositionSearchProblem that requires all the helper methods and properties to implement the A* searching algorithms in the paper.
  3. So the command used to run the algorithms is

python pacman.py -l LAYOUT -z .5 -p SearchAgent -a fn=SEARCH_ALGORITHM

LAYOUT (Layouts Available)

  • masterplan
  • tinyMaze
  • testMaze
  • smallMaze
  • openMaze
  • mindbending
  • mediumMaze
  • contoursMaze
  • bigMaze

SEARCH_ALGORITHM (Implemented search Algorithms):

  • astar : The dynamic A* search implementation
  • lastar: The Life Long A* search implementation
  • dstar : The DLite* search implementation

Example usage of the command:

python pacman.py -l masterplan -z .5 -p SearchAgent -a fn=astar

lifelong-a-star's People

Contributors

satrajitrik avatar hsinjlee 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.