pub struct Implication {
pub preconditions: Dnf,
pub consequent: Constraint,
}Expand description
An implication in normal form: a set of preconditions which prove a consequence.
When we can satisfy the preconditions (listed in disjunctive normal form), we are allowed to learn that the consequence is true and insert it into our set of knowledge, which we use to prove further preconditions to be true.
Fields§
§preconditions: DnfThe preconditions to the implication.
consequent: ConstraintThe consequent of the implication.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Implication
impl RefUnwindSafe for Implication
impl Send for Implication
impl Sync for Implication
impl Unpin for Implication
impl UnwindSafe for Implication
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