pub enum Or {
Max,
Probsum,
Bounded,
}Expand description
How OR joins two degrees, in a rule and between rules with the same then.
Variants§
Max
The larger: the strongest reason decides, and repeating one doesn’t raise it.
Probsum
a + b − ab: reasons reinforce each other. A reason written twice counts twice (0.6 becomes
0.84), so it suits distinct pieces of evidence, not restatements of one.
Bounded
min(1, a + b): reasons add up, to at most 1. For levels or options of one question, which
exclude each other, this is their probabilities’ sum: the chance that one of them holds.
Trait Implementations§
impl Copy for Or
Source§impl<'de> Deserialize<'de> for Or
impl<'de> Deserialize<'de> for Or
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Or
impl StructuralPartialEq for Or
Auto Trait Implementations§
impl Freeze for Or
impl RefUnwindSafe for Or
impl Send for Or
impl Sync for Or
impl Unpin for Or
impl UnsafeUnpin for Or
impl UnwindSafe for Or
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