Skip to content

Jellyyz/Flight-Search-Algro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghuang23-vperez35-jliu246-ssrane2

Final Project for ghuang23-vperez35-jliu246-ssrane2

Location of all our code, data, results:

code location for:

  1. Main Parser -> master/parser.cpp
  2. BFS -> master/BFS.cpp
  3. Dijkstra -> master/Algorithms/Dijikstra.cpp
  4. Betweencentrality -> master/Algorithms/betweencentrality.cpp
  5. Makefile -> master/Makefile
  6. Tests -> master/testing/tests.cpp
  7. Outputs -> master/outputx.png These outputs show what a basic output of our program can do.
  8. All the written reports -> master/Written Report/...
  9. Dev logs -> master/Development Documents Logs/...
  10. Project presentation -> https://youtu.be/G8IwalLcLeo

How to compile our code:

For the testing suite:

  1. Created general tests for the BFS algorithm that can test specific airports
  2. Dijkstra prints to the console so it's harder to test. We have to manually verify the distance, and also manually check if it is the shortest route.
  3. BC prints to the console so it's hard to test too. We have to manually verify the centrality of the airport by comparing amount of shortest path that pass through airport.

Be in the root directory:

  1. make clean
  2. make test
  3. ./test

For the code itself:

Be in the root directory:

  1. make clean && make && clear && ./flight

After running the code, enter IATA data for airports and the program should do the rest. Here are a few sample ones. Enjoy!

ORD - Chicago O'Hare DXB - Dubai LAX - Los Angeles CDG - Paris SOV - Moscow CAN - Cancun

About

BFS/DFS Flight Search Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages