pub struct FuzzySet {
pub min: f64,
pub max: f64,
pub memberships: Vec<f64>,
}Expand description
Represents a fuzzy membership function over a continuous domain.
Discretized as samples over [min, max] range.
Fields§
§min: f64Domain minimum value
max: f64Domain maximum value
memberships: Vec<f64>Membership values at sample points (uniformly spaced)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FuzzySet
impl RefUnwindSafe for FuzzySet
impl Send for FuzzySet
impl Sync for FuzzySet
impl Unpin for FuzzySet
impl UnwindSafe for FuzzySet
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