Code Monkey home page Code Monkey logo

cs225_final's Introduction

Final Project | skavi2, wkolcan2, guoyang2, bwl3

Goals
Contract
Development
Results
Presentation
Direct Link to Video: https://www.youtube.com/watch?v=cWYEfXoEP7I&feature=youtu.be

Build and Usage

Dijkstra's Algorithm

In terminal:

module unload llvm/6.0.1 
module load gcc/9.2.0 
  1. Make the file in the root directory make Dijkstra
  2. Run the executable: ./bin/Dijkstra

The default arguments are "data/airports.dat" for airport data, "data/routes/dat" for route data, "ORD" for origin, and "EMD" for destination.
To change these arguments use the following flags:

-a Airport File  
-r Route File  
-o Origin airport (IATA Code)  
-d Destination airport (IATA Code)

Example Syntax: Find shortest path from O'Hare (ORD) to JFK Airport (JFK)

./bin/Dijkstra -o ORD -d JFK

PageRank Algorithm

In terminal:

module unload llvm/6.0.1
module load gcc/9.2.0
  1. Make the file in the root directory make Portrank
  2. Run the executable ./bin/PortRank

The default arguments are "data/airports.dat" for airport data and "data/routes/dat" and 20 iterations. To change these arguments use the following flags.

 -a Airport File
 -r Route File
 -i # of iterations
 -d Damping Factor

Example Syntax: Change from airports.dat to airports_sample.dat

 ./bin/PortRank -a data/airports_sample.dat -r data/routes_sample.dat

cs225_final's People

Contributors

soooch avatar bharatboj avatar bliang9 avatar drlucky2 avatar

Watchers

 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.