pub struct ConflictHistory { /* private fields */ }Expand description
Dynamic conflict-history state threaded through backtracking search.
Implementations§
Source§impl ConflictHistory
impl ConflictHistory
Sourcepub fn new(num_constraints: usize, enabled: bool) -> Self
pub fn new(num_constraints: usize, enabled: bool) -> Self
Create history for num_constraints. enabled gates the ERWA update;
when disabled the weights are the frozen 1.0 vector the pre-CHS code
used, so Ordering::Mrv stays bit-for-bit the frozen-weight scan.
Trait Implementations§
Source§impl Clone for ConflictHistory
impl Clone for ConflictHistory
Source§fn clone(&self) -> ConflictHistory
fn clone(&self) -> ConflictHistory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConflictHistory
impl RefUnwindSafe for ConflictHistory
impl Send for ConflictHistory
impl Sync for ConflictHistory
impl Unpin for ConflictHistory
impl UnsafeUnpin for ConflictHistory
impl UnwindSafe for ConflictHistory
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