[][src]Struct splr::state::State

pub struct State {
    pub root_level: usize,
    pub num_vars: usize,
    pub num_solved_vars: usize,
    pub num_eliminated_vars: usize,
    pub config: Config,
    pub rst: RestartExecutor,
    pub stats: [usize; 19],
    pub strategy: SearchStrategy,
    pub target: CNFDescription,
    pub use_chan_seok: bool,
    pub ok: bool,
    pub b_lvl: Ema,
    pub c_lvl: Ema,
    pub model: Vec<Lbool>,
    pub conflicts: Vec<Lit>,
    pub new_learnt: Vec<Lit>,
    pub an_seen: Vec<bool>,
    pub last_asg: usize,
    pub last_dl: Vec<Lit>,
    pub lbd_temp: Vec<usize>,
    pub slack_duration: isize,
    pub stagnated: bool,
    pub start: SystemTime,
    pub time_limit: f64,
    pub record: ProgressRecord,
    pub use_progress: bool,
    pub progress_cnt: usize,
    pub progress_log: bool,
    pub development: Vec<(usize, f64, f64, f64, f64, f64)>,
}

Data storage for Solver

Fields

root_level: usizenum_vars: usizenum_solved_vars: usizenum_eliminated_vars: usizeconfig: Configrst: RestartExecutorstats: [usize; 19]strategy: SearchStrategytarget: CNFDescriptionuse_chan_seok: boolok: bool

MISC

b_lvl: Emac_lvl: Emamodel: Vec<Lbool>conflicts: Vec<Lit>new_learnt: Vec<Lit>an_seen: Vec<bool>last_asg: usizelast_dl: Vec<Lit>lbd_temp: Vec<usize>slack_duration: isizestagnated: boolstart: SystemTimetime_limit: f64record: ProgressRecorduse_progress: boolprogress_cnt: usizeprogress_log: booldevelopment: Vec<(usize, f64, f64, f64, f64, f64)>

Trait Implementations

impl StateIF for State[src]

fn progress(&mut self, cdb: &ClauseDB, vars: &VarDB, mes: Option<&str>)[src]

mes should be shorter than or equal to 9, or 8 + a delimiter.

impl Default for State[src]

impl Debug for State[src]

impl Display for State[src]

Auto Trait Implementations

impl Send for State

impl Sync for State

impl Unpin for State

impl RefUnwindSafe for State

impl UnwindSafe for State

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]