Giter Site home page Giter Site logo

dynamic-closure's Introduction

Dynamic Closure

Dynamic Closure is a library for efficiently computing the closure of a changing graph.

Requirements

Name Version
cmake ^3.5
graphblas ^7
gcc ^13

To compile the library for release:

mkdir ./Release && cd ./Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Once the library has been compiled, the binaries will be available in the ./Release/dynamic-closure folder.

Executing Benchmarks

Benchmarks are available in the ./Release/benchmarks folder, once the library has been compiled for release.

Available benchmarks:

  • generalized-floyd-warshall
  • decrease-idempotent
  • increase-column
  • increase-row

Preloaded datasets:

To run all benchmarks, please execute the ./Release/benchmarks/run-benchmarks binary. Benchmarks can also be executed indipendently.

Parameters

Parameter Description Required
-f The path of the dataset to use. Yes
-o The path of the output directory. No
-n The number of updates to generate. No
-s A predefined closure to utilize for dynamic closure benchmarks. If this parameter is not specified, the closure will be computed before the benchmarks. No

Examples (in the context of ./Release/benchmarks):

./generalized-floyd-warshall -f ../assets/cage10.mtx -o ../out

./run-benchmarks -f ../assets/cage10.mtx -o ../out -s ../out/generalized-floyd-warshall_cage-10/F.mtx

./increase-column -f ../assets/cage10.mtx -o ../out -n 1000 -s ../out/generalized-floyd-warshall_cage-10/F.mtx

./increase-row -f ../assets/cage10.mtx -o ../out -n 1000 -s ../out/generalized-floyd-warshall_cage-10/F.mtx

./decrease-idempotent -f ../assets/cage10.mtx -o ../out -n 1000 -s ../out/generalized-floyd-warshall_cage-10/F.mtx

dynamic-closure's People

Contributors

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