GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - UVA-LavaLab/GraphBrew: Brewing GAPBS with vertex reordering and graph segmentation

BranchesTags
Open more actions menu

Latest commit

 

History

982 Commits
982 Commits

Folders and files

NameName
Last commit message
Last commit date
bench
bench
 
 
docs
docs
 
 
scripts
scripts
 
 
wiki
wiki
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

GraphBrew

GraphBrew is a C++17/OpenMP framework for composable and explainable vertex layouts. It separates three decisions that monolithic reorderers usually couple:

Decision Purpose Examples
Partitioner discover vertex groups GVE-Leiden, Rabbit
Block layout place groups globally identity, SizeDesc, supergraph order
Vertex layout order vertices inside each block BFS, RCM, local Gorder

GraphBrew architecture

Layout model

GraphBrew represents a layout as <P,B,L>: partition vertices, place the resulting blocks, and order vertices inside each block. It compiles that expression into one persistent permutation and records requested/realized semantics, mapping fingerprints, construction cost, executed work, and amortized time.

For partition P, block permutation B, and local permutation L, the final ID is:

pi(v) = block_offset(B(P(v))) + L[P(v)](v)

-o 12:<configuration> executes the exact composition supplied by the user. GraphBrew does not silently search for or replace a requested layout.

Build

python3 scripts/graphbrew_experiment.py --check-deps
make -j"$(nproc)" all
make check

The original -o 8:boost path requires Boost 1.58. The native -o 8:csr implementation does not.

Run

GRAPH=scripts/test/graphs/tiny/tiny.el

# Current-layout baseline
./bench/bin/pr -f "$GRAPH" -s -o 0 -n 3

# Rabbit baselines
./bench/bin/pr -f "$GRAPH" -s -o 8:csr -n 3
./bench/bin/pr -f "$GRAPH" -s -o 8:boost -n 3

# Explicit GraphBrew composition
./bench/bin/pr -f "$GRAPH" -s \
  -o '12:leiden:compose:sg_none:comm_size_desc:intra_gorder:gw8' \
  -n 3

-o 12:<configuration> always runs the exact composition supplied by the user. GraphBrew does not search compositions at runtime.

Run experiments

Use the public orchestrator:

python3 scripts/graphbrew_experiment.py \
  --full --quick --size small --trials 1 --skip-cache

Use --dry-run before broad collection. Large graphs and result artifacts belong on an external data partition, not in the repository.

Repository map

bench/src/                         graph kernels
bench/include/graphbrew/reorder/   reordering implementations
bench/include/external/gapbs/      graph builder and benchmark lifecycle
scripts/graphbrew_experiment.py    public experiment orchestrator
scripts/experiments/               specialized restartable campaigns
scripts/test/                      regression checks
docs/                              public documentation and figures
wiki/                              documentation source

Documentation

  • GraphBrew Running Example
  • GraphBrewOrder
  • Reordering Algorithms
  • Reproducible Experiments
  • Command-Line Reference

Attribution and license

GraphBrew includes or compares against GAPBS, Rabbit Order, Gorder, GVE-Leiden, RCM, Corder, and related locality methods. Attributions are recorded in source headers and the wiki.

See LICENSE.

About

Brewing GAPBS with vertex reordering and graph segmentation

Topics

bfscachingclusteringconnected-componentscordercountingdbggapbsgordergraphleiden-algorithmp-optpagerankrabbitorderreorderingsssptctriangle

Resources

Readme
License

Contributing

Contributing
Activity
Custom properties

Stars

2 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.