Crate webgraph_algo

Crate webgraph_algo 

Source
Expand description

§Algorithms for WebGraph

downloads dependents GitHub CI license Latest version Documentation

Algorithms for the Rust implementation of the WebGraph framework for graph compression.

This crate provides efficient algorithms for analyzing compressed graphs:

§Algorithms

§Graph Structure

  • Strongly Connected Components (SCCs): Tarjan’s algorithm and variants for computing SCCs in directed graphs
  • Topological Sorting: Order vertices of a directed acyclic graph
  • Acyclicity Testing: Check if a graph is acyclic

§Distance Computation

  • HyperBall: Probabilistic algorithm for computing distances, closeness centrality, and other measures using HyperLogLog counters
  • ExactSumSweep: Exact computation of eccentricities, radius, and diameter

§Community Detection

  • Layered Label Propagation (LLP): Fast community detection algorithm for large graphs

§CLI Integration

Many algorithms can also be accessed through the webgraph-cli command-line tool.

§Acknowledgments

This software has been partially supported by project SERICS (PE00000014) under the NRRP MUR program funded by the EU - NGEU, and by project ANR COREGRAPHIE, grant ANR-20-CE23-0002 of the French Agence Nationale de la Recherche. Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the Italian MUR. Neither the European Union nor the Italian MUR can be held responsible for them.

Re-exports§

pub use llp::*;

Modules§

distances
Algorithms related to distances.
llp
Layered label propagation.
prelude
sccs
Algorithms used to compute and work with strongly connected components.
utils
Utilities.

Functions§

is_acyclic
Returns whether the graph is acyclic.
top_sort
Returns the node of the graph in topological-sort order, if the graph is acyclic.