[−][src]Struct splr::var::VarDB
Structure for variables.
Fields
lbd_temp: Vec<usize>
activity_inc: f64
activity_decay: f64
activity_decay_max: f64
Trait Implementations
impl VarDBIF for VarDB
[src]
fn new(n: usize) -> Self
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn assigned(&self, l: Lit) -> Lbool
[src]
fn locked(&self, c: &Clause, cid: ClauseId) -> bool
[src]
fn satisfies(&self, vec: &[Lit]) -> bool
[src]
fn update_stat(&mut self, state: &State)
[src]
fn compute_lbd(&self, vec: &[Lit], keys: &mut [usize]) -> usize
[src]
fn bump_activity(&mut self, vi: VarId)
[src]
fn scale_activity(&mut self)
[src]
impl Default for VarDB
[src]
impl Index<usize> for VarDB
[src]
impl Index<Range<usize>> for VarDB
[src]
type Output = [Var]
The returned type after indexing.
fn index(&self, r: Range<usize>) -> &[Var]
[src]
impl Index<RangeFrom<usize>> for VarDB
[src]
type Output = [Var]
The returned type after indexing.
fn index(&self, r: RangeFrom<usize>) -> &[Var]
[src]
impl IndexMut<usize> for VarDB
[src]
impl IndexMut<Range<usize>> for VarDB
[src]
impl IndexMut<RangeFrom<usize>> for VarDB
[src]
impl Debug for VarDB
[src]
Auto Trait Implementations
impl Send for VarDB
impl Unpin for VarDB
impl Sync for VarDB
impl UnwindSafe for VarDB
impl RefUnwindSafe for VarDB
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,