pub struct PropagationConfig {
pub max_depth: usize,
pub caused_dampening: f32,
pub supports_factor: f32,
pub contradicts_factor: f32,
pub supersedes_floor: f32,
}Expand description
Configuration for belief propagation.
Fields§
§max_depth: usizeMaximum BFS depth for propagation (default: 5).
caused_dampening: f32Dampening factor for Caused edges (default: 0.9).
supports_factor: f32Factor for Supports edges (default: 0.5).
contradicts_factor: f32Factor for Contradicts edges (default: 0.7).
supersedes_floor: f32Floor multiplier for Supersedes edges (default: 0.1).
Trait Implementations§
Source§impl Clone for PropagationConfig
impl Clone for PropagationConfig
Source§fn clone(&self) -> PropagationConfig
fn clone(&self) -> PropagationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropagationConfig
impl Debug for PropagationConfig
Auto Trait Implementations§
impl Freeze for PropagationConfig
impl RefUnwindSafe for PropagationConfig
impl Send for PropagationConfig
impl Sync for PropagationConfig
impl Unpin for PropagationConfig
impl UnsafeUnpin for PropagationConfig
impl UnwindSafe for PropagationConfig
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