[][src]Struct splr::var::Var

pub struct Var {
    pub index: VarId,
    pub assign: Lbool,
    pub phase: Lbool,
    pub reason: ClauseId,
    pub level: usize,
    pub activity: f64,
    pub pos_occurs: Vec<ClauseId>,
    pub neg_occurs: Vec<ClauseId>,
    // some fields omitted
}

Structure for variables.

Fields

index: VarId

reverse conversion to index. Note VarId must be usize.

assign: Lbool

the current value.

phase: Lbool

the previous assigned value

reason: ClauseIdlevel: usize

decision level at which this variables is assigned.

activity: f64

a dynamic evaluation criterion like VSIDS or ACID.

pos_occurs: Vec<ClauseId>

list of clauses which contain this variable positively.

neg_occurs: Vec<ClauseId>

list of clauses which contain this variable negatively.

Trait Implementations

impl FlagIF for Var[src]

impl VarIF for Var[src]

impl Debug for Var[src]

impl Display for Var[src]

Auto Trait Implementations

impl Send for Var

impl Sync for Var

impl Unpin for Var

impl RefUnwindSafe for Var

impl UnwindSafe for Var

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

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

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

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