Skip to content

SubinPradeep/Flight-Path-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs225-group225-Final-Project

Github Organization:

The physical location of all major files and deliverables will be listed here below:

Code:

Our 'src' folder will contain the majority of our code for this project. Within this folder you will find the following files:

  • airport.cpp
  • airport.h
  • routes.cpp
  • routes.h
  • filereader.cpp
  • filereader.h
  • graph.cpp
  • graph.h

Of these files, our graph.cpp/graph.h files are the most important. Within these files is the crux of our project as it is responsible for holding our code for graph initialization, djisktra's algorithm, and eulerian path identification.

The remaining files hold our code for data parsing and our airports and routes constructors.

Tests:

The test cases we developed for our code will be found within the 'tests' folder.

Data:

The data we use is stored in the form of csv files within the 'tests' folder.

Other Deliverables:

The remaining deliverables (project proposal, team contract, written report, presentation slides and submission video) can be found in the general project directory.

Running Instructions

  1. Clone repository to your local dekstop
  2. Open the folder in Visual Studio Code
  3. If there is already a build directory within the folder delete it
  4. Open a new terminal within the VS Code window
  5. run "mkdir build" in the terminal
  6. Once the build directory is created navigate into it with "cd build"
  7. Once in the 'build' folder, run the following command: "cmake .."
  8. Afterwards, run "make" to compile the code
  9. To execute test cases run: "./test"
  10. To test manually, run: "./main"
  11. You will be prompted to enter a source and destination airport id
  12. If a path exists, you will be prompted to find the shortest path with dijkstras
  13. Comment out the bfs and dijkstras section and uncommnt the eulerian path section
  14. Run "./main" to check eulerian now

Link to Presentation Slides + Video

Slides: https://docs.google.com/presentation/d/1IXGVNO2ID_qt_u0cOyg3Br18dIjAiCwtW6Mc73xvi1M/edit?usp=sharing

Video: https://www.youtube.com/watch?v=3ooKjO9kGso

About

Final Project for group225

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •