pub struct BackboneFilter { /* private fields */ }Expand description
Backbone filter for literal selection
Use backbone information to improve branching decisions
Implementations§
Source§impl BackboneFilter
impl BackboneFilter
Sourcepub fn filter(&self, candidates: &[Lit]) -> Vec<Lit>
pub fn filter(&self, candidates: &[Lit]) -> Vec<Lit>
Filter literals based on backbone
Prioritize or deprioritize backbone literals based on configuration
Sourcepub fn detector(&self) -> &BackboneDetector
pub fn detector(&self) -> &BackboneDetector
Get the backbone detector
Sourcepub fn detector_mut(&mut self) -> &mut BackboneDetector
pub fn detector_mut(&mut self) -> &mut BackboneDetector
Get mutable backbone detector
Sourcepub fn set_prefer_backbone(&mut self, prefer: bool)
pub fn set_prefer_backbone(&mut self, prefer: bool)
Set whether to prefer backbone literals
Trait Implementations§
Source§impl Debug for BackboneFilter
impl Debug for BackboneFilter
Auto Trait Implementations§
impl Freeze for BackboneFilter
impl RefUnwindSafe for BackboneFilter
impl Send for BackboneFilter
impl Sync for BackboneFilter
impl Unpin for BackboneFilter
impl UnsafeUnpin for BackboneFilter
impl UnwindSafe for BackboneFilter
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more