Skip to main content

Crate hodge_belief

Crate hodge_belief 

Source
Expand description

§hodge-belief

Hodge decomposition for belief states with interpretability.

Implements:

  • Hodge decomposition: Split any signal into exact + coexact + harmonic components
  • Belief states: Represent and decompose multi-agent belief distributions
  • Interpretability: Understand why agents disagree by examining decomposition components

Uses pure Rust with no external dependencies (implements sparse-aware dense linear algebra).

Structs§

BeliefInterpretation
Interpretation of a decomposed belief state.
BeliefState
A belief state over a graph.
DecomposedBelief
Decomposed belief state with interpretability.
HodgeDecomposition
Result of the Hodge decomposition of a signal on a graph.
HodgeRealization
Hodge realization: e = I - ΔG, where G is the Green’s function.
Matrix
StabilityReport
Stability report.

Enums§

HodgeError

Functions§

complete_laplacian
Build a complete graph Laplacian.
cycle_laplacian
Build a cycle graph Laplacian.
path_laplacian
Build a path graph Laplacian.
stability_analysis
Analyze stability of the Hodge decomposition under perturbation.
vec_add
vec_dot
vec_norm
vec_scale
vec_sub

Type Aliases§

Result