pub struct WavefrontEngine;Expand description
Breadth-first, depth-parallel spreading activation. All active nodes at current depth fire simultaneously. Signal accumulated via scatter-max into next depth’s buffer.
Implementations§
Trait Implementations§
Source§impl ActivationEngine for WavefrontEngine
impl ActivationEngine for WavefrontEngine
Source§fn propagate(
&self,
graph: &Graph,
seeds: &[(NodeId, FiniteF32)],
config: &PropagationConfig,
) -> M1ndResult<DimensionResult>
fn propagate( &self, graph: &Graph, seeds: &[(NodeId, FiniteF32)], config: &PropagationConfig, ) -> M1ndResult<DimensionResult>
Propagate from seeds through the graph. Returns sparse activation map.
Replaces: engine_v2.py D1_Structural.activate()
Auto Trait Implementations§
impl Freeze for WavefrontEngine
impl RefUnwindSafe for WavefrontEngine
impl Send for WavefrontEngine
impl Sync for WavefrontEngine
impl Unpin for WavefrontEngine
impl UnsafeUnpin for WavefrontEngine
impl UnwindSafe for WavefrontEngine
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