pub struct Consequent {
pub var: String,
pub term: String,
}Expand description
Output clause (THEN-part) referencing a linguistic variable and term.
A Consequent ties a linguistic variable (e.g., "fan") to one of its
labeled membership functions/terms (e.g., "high"). During implication,
the membership function for term is sampled over the variable domain and
clipped by the rule activation alpha.
Fields§
§var: StringTarget output variable name this consequent refers to.
term: StringTerm label within the target variable to be used during implication.
Implementations§
Trait Implementations§
Source§impl Clone for Consequent
impl Clone for Consequent
Source§fn clone(&self) -> Consequent
fn clone(&self) -> Consequent
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 moreAuto Trait Implementations§
impl Freeze for Consequent
impl RefUnwindSafe for Consequent
impl Send for Consequent
impl Sync for Consequent
impl Unpin for Consequent
impl UnwindSafe for Consequent
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