pub struct LearnedClause {
pub lits: Vec<Lit>,
pub id: u64,
pub hints: Vec<u64>,
}Expand description
A learned clause logged for proof reconstruction. Each is a resolvent derivable from
the formula by reverse unit propagation — the unit of a DRAT/LRAT proof. With proof tracing
on (Solver::set_lrat) it carries its LRAT step: its id and the ids of the clauses that,
in order, each become unit under its negation until the last conflicts.
Fields§
§lits: Vec<Lit>§id: u64§hints: Vec<u64>Trait Implementations§
Source§impl Clone for LearnedClause
impl Clone for LearnedClause
Source§fn clone(&self) -> LearnedClause
fn clone(&self) -> LearnedClause
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 LearnedClause
impl RefUnwindSafe for LearnedClause
impl Send for LearnedClause
impl Sync for LearnedClause
impl Unpin for LearnedClause
impl UnsafeUnpin for LearnedClause
impl UnwindSafe for LearnedClause
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