1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Temporal graph analysis algorithms (stream model, f64 timestamps)
//!
//! This module provides a self-contained temporal network analysis framework
//! built around the **stream-of-interactions** model where edges carry
//! real-valued timestamps. It is focused on composable algorithm modules:
//!
//! | Sub-module | Contents |
//! |--------------|----------------------------------------------------------------|
//! | `graph` | `TemporalEdge`, `TemporalGraph` data structures |
//! | `centrality` | Temporal closeness, betweenness, and PageRank |
//! | `motifs` | 3-node/3-edge δ-temporal motif counting (8 types) |
//! | `community` | Evolutionary clustering (dynamic community detection) |
//!
//! # Quick start
//!
//! ```rust
//! use scirs2_graph::temporal::{TemporalGraph, TemporalEdge};
//! use scirs2_graph::temporal::centrality::temporal_betweenness;
//!
//! let mut tg = TemporalGraph::new(4);
//! tg.add_edge(TemporalEdge::new(0, 1, 1.0));
//! tg.add_edge(TemporalEdge::new(1, 2, 2.0));
//! tg.add_edge(TemporalEdge::new(2, 3, 3.0));
//!
//! let bet = temporal_betweenness(&mut tg);
//! assert_eq!(bet.len(), 4);
//! ```
// Re-export the most commonly used types
pub use ;
pub use ;
pub use ;
pub use ;