Struct splr::cdb::Clause [−][src]
A representation of ‘clause’
Fields
lits: Vec<Lit>
The literals in a clause.
rank: u16
A static clause evaluation criterion like LBD, NDD, or something.
search_from: usize
the index from which propagate
starts searching an un-falsified literal.
Trait Implementations
impl ClauseIF for Clause
[src]
fn is_empty(&self) -> bool
[src]
fn iter(&self) -> Iter<'_, Lit>
[src]
fn len(&self) -> usize
[src]
fn update_lbd<A>(&mut self, asg: &A, lbd_temp: &mut [usize]) -> usize where
A: AssignIF,
[src]
A: AssignIF,
fn to_vivify(&self, threshold: usize) -> Option<f64>
[src]
fn vivified(&mut self)
[src]
impl Clone for Clause
[src]
impl Debug for Clause
[src]
impl Default for Clause
[src]
impl Display for Clause
[src]
impl FlagIF for Clause
[src]
fn is(&self, flag: Flag) -> bool
[src]
fn set(&mut self, f: Flag, b: bool)
[src]
fn turn_off(&mut self, flag: Flag)
[src]
fn turn_on(&mut self, flag: Flag)
[src]
impl Index<Range<usize>> for Clause
[src]
type Output = [Lit]
The returned type after indexing.
fn index(&self, r: Range<usize>) -> &[Lit]
[src]
impl Index<RangeFrom<usize>> for Clause
[src]
type Output = [Lit]
The returned type after indexing.
fn index(&self, r: RangeFrom<usize>) -> &[Lit]
[src]
impl Index<usize> for Clause
[src]
impl IndexMut<Range<usize>> for Clause
[src]
impl IndexMut<RangeFrom<usize>> for Clause
[src]
impl IndexMut<usize> for Clause
[src]
impl<'a> IntoIterator for &'a Clause
[src]
type Item = &'a Lit
The type of the elements being iterated over.
type IntoIter = Iter<'a, Lit>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> IntoIterator for &'a mut Clause
[src]
type Item = &'a Lit
The type of the elements being iterated over.
type IntoIter = Iter<'a, Lit>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<Clause> for Clause
[src]
impl PartialOrd<Clause> for Clause
[src]
fn partial_cmp(&self, other: &Clause) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for Clause
[src]
Auto Trait Implementations
impl RefUnwindSafe for Clause
impl Send for Clause
impl Sync for Clause
impl Unpin for Clause
impl UnwindSafe for Clause
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,