Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 2.72 KB

README.md

File metadata and controls

65 lines (40 loc) · 2.72 KB

CS225 Final Project: ORRN Final Project

Presentation VideoDataRepo StructureRunning InstructionsTeam

Data

We are using the Stanford Large Network Dataset Collection data and focusing on the following file:

Repo Structure

  • All major files that contain our functions and classes are in /code.

  • Datasets are stored as txt files in /data.

  • Tests are in /code/tests.

  • Our development log, contract, and proposal are in /documents.

  • Our final report and presentation link are in /final

Running Instructions

Make sure you are running the program in Docker. If not, follow This Guide to get started.

Executable

To use our program, run make then ./main in the root directory. Follow the instructions of our program and you are all set!

We call all the functions in main.cpp for you, with clear prompts on what inputs to use. The required inputs for each of the functionality are as follows:

  1. BFS:
    • Input: Starting user ID (between 0 and 4038)
    • Output: The distance from this user's ID to the "root" user ID in the data set
  2. Prim's MST:
    • Input: Starting user ID (between 0 and 4038)
    • Output: The spanning tree of the graph with this starting node (this user's "friend circle")!
  3. A* Search:
    • Input: Two user ID's (between 0 and 4038)
    • Output: The "path" between these two users- how many degrees they are separated by!

Tests

To run the test cases, run make tests then ./tests in the main directory.

We constructed many small to medium sized datasets in /tests directory, which are used as test cases to evaluate if the output of our algorithms are as expected. Our tests focus on testing the functionality of the graph construction as an adjacency matrix, Prim's Algorithm, BFS Traversal, and A* algorithm.

Team

  • Neeya Devanagondi (neeyati2)
  • Rucha Nandha (rnandha2)
  • Ojaswee Choudhary (ojaswee2)
  • Ria Desai (rndesai2)