[−][src]Struct splr::clause::ClauseDB
Clause database
Fields
touched: Vec<bool>
watcher: Vec<Vec<Watch>>
num_active: usize
num_learnt: usize
certified: Vec<(CertifiedRecord, Vec<i32>)>
activity_inc: f64
activity_decay: f64
inc_step: usize
soft_limit: usize
co_lbd_bound: usize
lbd_frozen_clause: usize
first_reduction: usize
next_reduction: usize
glureduce: bool
Trait Implementations
impl ClauseDBIF for ClauseDB
[src]
fn new(config: &Config, nv: usize, nc: usize) -> ClauseDB
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn garbage_collect(&mut self)
[src]
fn new_clause(&mut self, v: &[Lit], rank: usize, learnt: bool) -> ClauseId
[src]
fn reset_lbd(&mut self, vars: &VarDB, temp: &mut [usize])
[src]
fn bump_activity(&mut self, cid: ClauseId)
[src]
fn scale_activity(&mut self)
[src]
fn count(&self, alive: bool) -> usize
[src]
fn countf(&self, mask: Flag) -> usize
[src]
fn attach(
&mut self,
state: &mut State,
vars: &mut VarDB,
lbd: usize
) -> ClauseId
[src]
&mut self,
state: &mut State,
vars: &mut VarDB,
lbd: usize
) -> ClauseId
fn detach(&mut self, cid: ClauseId)
[src]
fn reduce(&mut self, state: &mut State, vars: &mut VarDB)
[src]
fn simplify(
&mut self,
asgs: &mut AssignStack,
elim: &mut Eliminator,
state: &mut State,
vars: &mut VarDB
) -> MaybeInconsistent
[src]
&mut self,
asgs: &mut AssignStack,
elim: &mut Eliminator,
state: &mut State,
vars: &mut VarDB
) -> MaybeInconsistent
fn reset(&mut self)
[src]
fn certificate_add(&mut self, vec: &[Lit])
[src]
fn certificate_delete(&mut self, vec: &[Lit])
[src]
fn eliminate_satisfied_clauses(
&mut self,
elim: &mut Eliminator,
vars: &mut VarDB,
update_occur: bool
)
[src]
&mut self,
elim: &mut Eliminator,
vars: &mut VarDB,
update_occur: bool
)
fn check_size(&self) -> MaybeInconsistent
[src]
fn make_permanent(&mut self, reinit: bool)
[src]
impl Debug for ClauseDB
[src]
impl Index<u32> for ClauseDB
[src]
type Output = Clause
The returned type after indexing.
fn index(&self, cid: ClauseId) -> &Clause
[src]
impl Index<Range<usize>> for ClauseDB
[src]
type Output = [Clause]
The returned type after indexing.
fn index(&self, r: Range<usize>) -> &[Clause]
[src]
impl Index<RangeFrom<usize>> for ClauseDB
[src]
type Output = [Clause]
The returned type after indexing.
fn index(&self, r: RangeFrom<usize>) -> &[Clause]
[src]
impl IndexMut<u32> for ClauseDB
[src]
impl IndexMut<Range<usize>> for ClauseDB
[src]
impl IndexMut<RangeFrom<usize>> for ClauseDB
[src]
Auto Trait Implementations
impl Send for ClauseDB
impl Sync for ClauseDB
impl Unpin for ClauseDB
impl RefUnwindSafe for ClauseDB
impl UnwindSafe for ClauseDB
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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,