[−][src]Struct splr::eliminator::Eliminator
Literal eliminator
Fields
enable: bool
eliminate_combination_limit: usize
0 for no limit Stop elimination if a generated resolvent is larger than this 0 means no limit.
eliminate_grow_limit: usize
Stop elimination if the increase of clauses is over this
eliminate_loop_limit: usize
subsume_literal_limit: usize
Stop subsumption if the size of a clause is over this
subsume_loop_limit: usize
Trait Implementations
impl EliminatorIF for Eliminator
[src]
fn new(config: &Config, nv: usize) -> Eliminator
[src]
fn activate(&mut self)
[src]
fn is_running(&self) -> bool
[src]
fn is_waiting(&self) -> bool
[src]
fn stop(&mut self, cdb: &mut ClauseDB, vars: &mut VarDB)
[src]
fn prepare(&mut self, cdb: &mut ClauseDB, vars: &mut VarDB, force: bool)
[src]
fn enqueue_clause(&mut self, cid: ClauseId, c: &mut Clause)
[src]
fn clear_clause_queue(&mut self, cdb: &mut ClauseDB)
[src]
fn enqueue_var(&mut self, vars: &mut VarDB, vi: VarId, upward: bool)
[src]
fn clear_var_queue(&mut self, vars: &mut VarDB)
[src]
fn clause_queue_len(&self) -> usize
[src]
fn var_queue_len(&self) -> usize
[src]
fn eliminate(
&mut self,
asgs: &mut AssignStack,
cdb: &mut ClauseDB,
state: &mut State,
vars: &mut VarDB
) -> MaybeInconsistent
[src]
&mut self,
asgs: &mut AssignStack,
cdb: &mut ClauseDB,
state: &mut State,
vars: &mut VarDB
) -> MaybeInconsistent
fn extend_model(&mut self, model: &mut Vec<i32>)
[src]
fn add_cid_occur(
&mut self,
vars: &mut VarDB,
cid: ClauseId,
c: &mut Clause,
enqueue: bool
)
[src]
&mut self,
vars: &mut VarDB,
cid: ClauseId,
c: &mut Clause,
enqueue: bool
)
fn remove_lit_occur(&mut self, vars: &mut VarDB, l: Lit, cid: ClauseId)
[src]
fn remove_cid_occur(&mut self, vars: &mut VarDB, cid: ClauseId, c: &mut Clause)
[src]
impl Default for Eliminator
[src]
fn default() -> Eliminator
[src]
impl Debug for Eliminator
[src]
Auto Trait Implementations
impl Send for Eliminator
impl Unpin for Eliminator
impl Sync for Eliminator
impl UnwindSafe for Eliminator
impl RefUnwindSafe for Eliminator
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,