Giter Site home page Giter Site logo

uw-cs848-disaggregated-memory-triangle-listing's Introduction

UW-CS848-Disaggregated-Memory-Triangle-Listing

Discription

This repository contains a test code and its results regarding our project for the CS848 course at the University of Waterloo. The Project is about listing all triangles in a directed graph that resides in a memory-disaggregated platform. In order to solve this problem, we use a divide-and-conquer approach and partition the graph into small subgraphs that can fit in the local memory of the compute node. Then we remove redundant vertices and edges. Afterward, we partition the reduced graph again and repeat this process until the graph fits inside the local memory of the compute node. This code tests different partitioning algorithms and offers some preprocessing to show how many phases the algorithm has to go through to enumerate all triangles.

Files and Directories

  • results: is a directory which contains csv files which store the results of some of our tests on a Twitter-Graph, Bitcoin OTC Trust Network and Nashvile Meetup Network - member edges.
  • Figures: is a directory which contains our figures.
  • test.cpp: Our main program.
  • graph.h: a header file containing the implementaion of a directed graph data structure used by test.cpp.
  • MeetUpTest.ipynb: a jupiter notebook containing plots of Bitcoin OTC Trust Network and executing preprocessing on the graph without considering trust triangles.
  • CS848_Result_Plots.ipynb: a jupiter notebook containing our plots of the csv tables in the results directory.

Building and Running test.cpp

To build the program you need to use GNU compiler to compile test.cpp as it requires no additional packages. Passing --help flag to the executable program, will print the Input format of the code and explain what each input does. The test.cpp program will take a file path as its first argument. This file should contain the list of edges of the input graph separated by whitespaces only.

Other Information

Contact

uw-cs848-disaggregated-memory-triangle-listing's People

Contributors

armandavoodi 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.