pub enum FuzzyNegationKind {
Standard,
Sugeno {
lambda: i32,
},
Yager {
w: u32,
},
}Expand description
Fuzzy negation kinds.
Variants§
Standard
Standard fuzzy negation: N(a) = 1 - a
Sugeno
Sugeno negation: N(a) = (1-a)/(1+λa) for λ > -1 Parameterized family of negations
Yager
Yager negation: N(a) = (1 - a^w)^(1/w) for w > 0
Trait Implementations§
Source§impl Clone for FuzzyNegationKind
impl Clone for FuzzyNegationKind
Source§fn clone(&self) -> FuzzyNegationKind
fn clone(&self) -> FuzzyNegationKind
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 FuzzyNegationKind
impl Debug for FuzzyNegationKind
Source§impl<'de> Deserialize<'de> for FuzzyNegationKind
impl<'de> Deserialize<'de> for FuzzyNegationKind
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
Source§impl PartialEq for FuzzyNegationKind
impl PartialEq for FuzzyNegationKind
Source§impl Serialize for FuzzyNegationKind
impl Serialize for FuzzyNegationKind
impl Copy for FuzzyNegationKind
impl Eq for FuzzyNegationKind
impl StructuralPartialEq for FuzzyNegationKind
Auto Trait Implementations§
impl Freeze for FuzzyNegationKind
impl RefUnwindSafe for FuzzyNegationKind
impl Send for FuzzyNegationKind
impl Sync for FuzzyNegationKind
impl Unpin for FuzzyNegationKind
impl UnwindSafe for FuzzyNegationKind
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