GithubHelp home page GithubHelp logo

wangyiqiu / pargeo Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 2.0 982 KB

A Collection of Parallel Algorithms for Computational Geometry

License: MIT License

CMake 2.89% C++ 95.96% Python 1.15%
computational-geometry parallel-algorithm

pargeo's Introduction

ParGeo is now being maintained at https://github.com/ParAlg/ParGeo

Pargeo: A Library for Parallal Algorithms in Computational Geometry

Pargeo is being developted at MIT. It hosts a growing set of multi-core implementations for parallel algorithms in computational geometry:

  • Graph Generators
    • Euclidean MST
    • K-Nearest Neighbor Graph
    • Planar Beta-Skeleton
    • Planar Delaunay Graph
    • Planar Gabriel Graph
    • T-Spanner
  • Spatial Query
    • K-Nearest Neighbor
    • Range Search
  • Closest Pair
  • 2D & 3D Z-Order Sort
  • Planar Delaunay Triangulation
  • Well-Separated Pair Decomposition

Depdendencies

Pargeo runs on any modern x86-based multicore machines. To compile, it requires g++ 5.4.0 or later. The build system is CMake.

Pargeo uses the parlaylib, a wonderful library developed at CMU for multi-core parallel programming. It and other dependencies are included in the project as submodules - initialize them before compiling the code:

git submodule init
git submodule update

Compilation

Starting from the project root directory:

mkdir build
cd build
cmake ..
make -j # this will take a while

Usage

After the build completes, navigate to <project-root>/build/executable, where the executables are generated. Running ./<executable> in the terminal displays short usage instructions. As an example, to compute the Euclidean MST of a point data set <data-file>, input the following, and the MST edges will be written to edges.txt.

./emst -o edges.txt <data-file>

Example data sets can be found here. Pargeo automatically parses CSV-like point data files with or without header, as long as the delimiters (space, comma, etc) in between numbers are one character each in length.

References

[1] Yiqiu Wang, Shangdi Yu, Laxman Dhulipala, Yan Gu, and Julian Shun. 2021. GeoGraph: A Framework for Graph Processing on Geometric Data. SIGOPS Operating Systems Review 55, 1 (July 2021), 38โ€“46.

[2] Yiqiu Wang, Shangdi Yu, Yan Gu, and Julian Shun. 2021. Fast Parallel Algorithms for Euclidean Minimum Spanning Tree and Hierarchical Spatial Clustering. In Proceedings of the 2021 International Conference on Management of Data (SIGMOD/PODS '21). Association for Computing Machinery, New York, NY, USA, 1982โ€“1995.

[3] Yiqiu Wang, Shangdi Yu, Yan Gu, and Julian Shun. 2021. A Parallel Batch-Dynamic Data Structure for the Closest Pair Problem. 37th International Symposium on Computational Geometry (SoCG 2021).

pargeo's People

Contributors

wangyiqiu avatar yushangdi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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