[−][src]Struct splr::state::State
Data storage for Solver
Fields
root_level: usize
num_vars: usize
num_solved_vars: usize
num_eliminated_vars: usize
config: Config
rst: RestartExecutor
stats: [usize; 19]
strategy: SearchStrategy
target: CNFDescription
use_chan_seok: bool
ok: bool
MISC
b_lvl: Ema
c_lvl: Ema
model: Vec<Lbool>
conflicts: Vec<Lit>
new_learnt: Vec<Lit>
an_seen: Vec<bool>
last_asg: usize
last_dl: Vec<Lit>
lbd_temp: Vec<usize>
slack_duration: isize
stagnated: bool
start: SystemTime
time_limit: f64
record: ProgressRecord
use_progress: bool
progress_cnt: usize
progress_log: bool
development: Vec<(usize, f64, f64, f64, f64, f64)>
Trait Implementations
impl StateIF for State
[src]
fn new(config: &Config, cnf: CNFDescription) -> State
[src]
fn num_unsolved_vars(&self) -> usize
[src]
fn is_timeout(&self) -> bool
[src]
fn adapt_strategy(&mut self, cdb: &mut ClauseDB, vdb: &mut VarDB)
[src]
fn progress_header(&self)
[src]
fn flush(&self, mes: &str)
[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]
U: From<T>,
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.
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,