pub struct CausalChainDetector { /* private fields */ }Expand description
Causal chain detector. DFS along forward causal edges with budget. Replaces: temporal_v2.py CausalChainDetector
Implementations§
Source§impl CausalChainDetector
impl CausalChainDetector
pub fn new(max_depth: u8, min_strength: FiniteF32, chain_budget: u64) -> Self
pub fn with_defaults() -> Self
Sourcepub fn detect(
&self,
graph: &Graph,
source: NodeId,
) -> M1ndResult<Vec<CausalChain>>
pub fn detect( &self, graph: &Graph, source: NodeId, ) -> M1ndResult<Vec<CausalChain>>
Detect causal chains from a source node. Budget-limited priority queue (DEC-016, FM-TMP-005). Replaces: temporal_v2.py CausalChainDetector.detect()
Auto Trait Implementations§
impl Freeze for CausalChainDetector
impl RefUnwindSafe for CausalChainDetector
impl Send for CausalChainDetector
impl Sync for CausalChainDetector
impl Unpin for CausalChainDetector
impl UnsafeUnpin for CausalChainDetector
impl UnwindSafe for CausalChainDetector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more