scirs2_graph/streaming/mod.rs
1//! Streaming graph processing — core module and advanced algorithms.
2//!
3//! This module re-exports all types from the original streaming core and adds:
4//! - [`GraphStream`]: iterator-backed edge stream abstraction
5//! - [`StreamingTriangleCounter`]: reservoir+window-based exact/approximate triangle counting
6//! - [`StreamingUnionFind`]: online connected-components via Union-Find
7//! - [`streaming_bfs`]: multi-pass memory-efficient BFS over an edge stream
8//! - [`StreamingDegreeEstimator`]: count-min sketch degree estimation
9//!
10//! The original sliding-window and Doulion/MASCOT triangle counters, streaming
11//! graph, and degree-distribution types are all still available via [`core`].
12
13// Re-export the original streaming core unchanged
14pub mod core;
15pub use core::*;
16
17// New streaming algorithm extensions
18pub mod algorithms;
19pub use algorithms::{
20 streaming_bfs, GraphStream, StreamBfsResult, StreamConfig, StreamingBfsConfig,
21 StreamingDegreeEstimator, StreamingTriangleCounter, StreamingUnionFind,
22};