Skip to main content

Crate causasv

Crate causasv 

Source

Re-exports§

pub use asv::AsvExplainer;
pub use asv::AsvResult;

Modules§

asv

Structs§

Dag
Directed acyclic graph with stable node indexing.
NodeId
SamplingConfig
Configuration for approximate ASV sampling.

Enums§

CausasvError

Functions§

enumerate_topos
Enumerates ALL valid topological orderings. Output is deterministic (frontier sorted by NodeId at each step). Only practical for small graphs (n ≤ ~8).
topo_sort
Returns a valid topological ordering (smallest NodeId first among ties).

Type Aliases§

ValueFn
Type alias for a value function over node coalitions. The library guarantees the coalition slice is sorted in ascending NodeId order before calling, so callers may use it as a stable cache key.