Skip to main content

Module algorithms

Module algorithms 

Source
Expand description

Advanced streaming graph algorithms.

This module provides algorithms that process massive graphs edge-by-edge without requiring the full graph to reside in memory.

§Algorithms

AlgorithmDescription
StreamingTriangleCounterReservoir + window exact/approximate triangle counting
StreamingUnionFindOnline connected-components via path-compressed Union-Find
streaming_bfsMulti-pass BFS over an edge stream (memory-efficient)
StreamingDegreeEstimatorCount-min sketch approximate degree queries

Structs§

GraphStream
An iterator-backed stream of graph edges (u, v).
StreamBfsResult
Result of a streaming BFS.
StreamConfig
Configuration for streaming graph algorithms.
StreamingBfsConfig
Configuration for streaming BFS.
StreamingDegreeEstimator
Streaming degree estimator backed by a count-min sketch.
StreamingTriangleCounter
Streaming triangle counter using a sliding adjacency window.
StreamingUnionFind
Online connected-components via path-compressed, union-by-rank Union-Find.

Functions§

streaming_bfs
Memory-efficient multi-pass BFS over a GraphStream.