Struct splr::cdb::ClauseDB[][src]

pub struct ClauseDB {
    pub bin_watcher: Vec<Vec<Watch>>,
    pub watcher: Vec<Vec<Watch>>,
    pub certified: Vec<(CertifiedRecord, Vec<i32>)>,
    pub lbd_of_dp_ema: Ema,
    pub during_vivification: bool,
    pub eliminated_permanent: Vec<Vec<Lit>>,
    // some fields omitted
}

Clause database

 use crate::{splr::config::Config, splr::types::*};
 use crate::splr::cdb::ClauseDB;
 let cdb = ClauseDB::instantiate(&Config::default(), &CNFDescription::default());

Fields

bin_watcher: Vec<Vec<Watch>>

container of watch literals for binary clauses

watcher: Vec<Vec<Watch>>

container of watch literals

certified: Vec<(CertifiedRecord, Vec<i32>)>

clause history to make certification

lbd_of_dp_ema: Ema

EMA of LBD of clauses used in conflict analysis (dependency graph)

during_vivification: booleliminated_permanent: Vec<Vec<Lit>>

Trait Implementations

impl ActivityIF<ClauseId> for ClauseDB[src]

impl ClauseDBIF for ClauseDB[src]

fn detach(&mut self, cid: ClauseId)[src]

Warning

this function is the only function that turns Flag::DEAD on without calling garbage_collect which erases all the DEAD flags. So you must care about how and when garbage_collect is called.

impl Clone for ClauseDB[src]

impl Debug for ClauseDB[src]

impl Default for ClauseDB[src]

impl Index<&'_ ClauseId> for ClauseDB[src]

type Output = Clause

The returned type after indexing.

impl Index<ClauseId> for ClauseDB[src]

type Output = Clause

The returned type after indexing.

impl Index<Range<usize>> for ClauseDB[src]

type Output = [Clause]

The returned type after indexing.

impl Index<RangeFrom<usize>> for ClauseDB[src]

type Output = [Clause]

The returned type after indexing.

impl IndexMut<&'_ ClauseId> for ClauseDB[src]

impl IndexMut<ClauseId> for ClauseDB[src]

impl IndexMut<Range<usize>> for ClauseDB[src]

impl IndexMut<RangeFrom<usize>> for ClauseDB[src]

impl Instantiate for ClauseDB[src]

impl PropertyDereference<Tf64, f64> for ClauseDB[src]

impl PropertyDereference<Tusize, usize> for ClauseDB[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.