Skip to main content

scirs2_graph/signed_directed/
mod.rs

1//! Signed and directed graph learning with specialised embeddings.
2//!
3//! This module provides:
4//! - [`types`]: Core data structures (`SignedGraph`, `DirectedGraph`, config/result types).
5//! - [`signed_spectral`]: Signed Laplacian, SPONGE embedding, ratio-cut clustering,
6//!   and status-theory scores.
7//! - [`directed_embedding`]: HOPE and APP directed graph embeddings.
8//! - [`signed_gcn`]: Balance-theory Signed GCN (Derr et al. 2018).
9
10pub mod directed_embedding;
11pub mod signed_gcn;
12pub mod signed_spectral;
13pub mod types;
14
15// Convenience re-exports
16pub use directed_embedding::{app_embedding, hope_embedding, stationary_distribution};
17pub use signed_gcn::{predict_sign, SgcnLayer, SgcnModel};
18pub use signed_spectral::{
19    negative_laplacian, positive_laplacian, signed_laplacian, signed_ratio_cut, sponge_embedding,
20    status_score,
21};
22pub use types::{
23    DirectedEdge, DirectedEmbedConfig, DirectedGraph, EmbeddingResult, SignedEdge,
24    SignedEmbedConfig, SignedGraph,
25};