sdivi-core 0.2.23

Pure-compute facade for the Structural Divergence Indexer — WASM-compatible, no I/O
Documentation
//! Re-exports of snapshot-layer functions for convenience.
//!
//! These are the "assembly-and-delta" functions that sdivi-core surfaces from
//! `sdivi-snapshot`.  Embedders that only need the pure-compute functions can
//! call `crate::compute::*` directly; embedders that need to assemble or
//! diff snapshots use these re-exports.

/// Assemble a [`crate::Snapshot`] from pipeline stage outputs.
///
/// See [`sdivi_snapshot::snapshot::assemble_snapshot`] for full documentation.
pub use sdivi_snapshot::snapshot::assemble_snapshot;

/// Compute per-dimension divergence between two snapshots.
///
/// See [`sdivi_snapshot::delta::compute_delta`] for full documentation.
pub use sdivi_snapshot::delta::compute_delta;

/// Return a [`crate::DivergenceSummary`] with all fields `None` (first-snapshot path).
///
/// See [`sdivi_snapshot::delta::null_summary`] for full documentation.
pub use sdivi_snapshot::delta::null_summary;

/// Compute trend statistics over a slice of snapshots.
///
/// See [`sdivi_snapshot::trend::compute_trend`] for full documentation.
pub use sdivi_snapshot::trend::compute_trend;

/// Infer boundary proposals from a sequence of prior partitions.
///
/// See [`sdivi_snapshot::boundary_inference::infer_boundaries`] for full documentation.
pub use sdivi_snapshot::boundary_inference::infer_boundaries;