Giter Site home page Giter Site logo

advanced_algorithm_design_final_project's Introduction

CS3050_Final_Project

3050 Final Project @authors: Matthew Carroll, Clayton Cornett, Brian Lasker, Jeff Rohlman

Objective: Guide two robots from a starting to an ending point in a maze without the robots overlapping each other

Idea: Take a DFS for both robots. If one of the robots can reach the exit without a conflict of the other robot, it takes the path to the exit before moving the other robot and then vice versa. If there is a conflict you find a place where one of the robots must move so there is the least movement possible.

HOW TO RUN: after importing the programs, type make to compile. The resulting executable file will be named Final_Project. To get the code to run you need two commands:

./Final_Project room.txt

With room.txt being the maze you want to test on it.

OUTPUT: The direct paths of the robots will be shown. If there are no direct paths readily avaliable, but there are solutions to the maze, multiple outputs will be displayed. The displays will be the intial move out of the way by the first robot, then the first robot will exit the maze. Following the exit of the maze, the program will report the direct way out of the maze for the last remaining robot. All doable solutions also show the length of each robot's path.

Exit Codes: 5 - file would not open 6 - Incorrect number of arguments 7 - Parsing error

advanced_algorithm_design_final_project's People

Contributors

mjc598 avatar claytoncornett avatar

Stargazers

Sathvik PN 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.