Struct splr::config::Config

source ·
pub struct Config {
Show 23 fields pub c_cbt_thr: DecisionLevel, pub c_cls_lim: usize, pub c_timeout: f64, pub splr_interface: bool, pub cnf_file: PathBuf, pub io_odir: PathBuf, pub io_pfile: PathBuf, pub io_rfile: PathBuf, pub no_color: bool, pub quiet_mode: bool, pub show_journal: bool, pub use_certification: bool, pub use_log: bool, pub crw_dcy_rat: f64, pub cls_rdc_lbd: u16, pub cls_rdc_rm1: f64, pub cls_rdc_rm2: f64, pub enable_eliminator: bool, pub elm_cls_lim: usize, pub elm_grw_lim: usize, pub elm_var_occ: usize, pub vrw_dcy_rat: f64, pub vrw_dcy_stp: f64,
}
Expand description

Configuration built from command line options

Fields§

§c_cbt_thr: DecisionLevel

Dec. lvl to use chronoBT

§c_cls_lim: usize

Soft limit of #clauses (6MC/GB)

§c_timeout: f64

CPU time limit in sec.

§splr_interface: bool

Build Splr interface

§cnf_file: PathBuf

DIMACS CNF file

§io_odir: PathBuf

Output directory

§io_pfile: PathBuf

DRAT Cert. filename

§io_rfile: PathBuf

Result filename/stdout

§no_color: bool

Disable coloring

§quiet_mode: bool

Disable any progress message

§show_journal: bool

Show sub-module logging report

§use_certification: bool

Writes a DRAT UNSAT certification file

§use_log: bool

Uses Glucose-like progress report

§crw_dcy_rat: f64§cls_rdc_lbd: u16§cls_rdc_rm1: f64§cls_rdc_rm2: f64§enable_eliminator: bool§elm_cls_lim: usize

Max #lit for clause subsume

§elm_grw_lim: usize

Grow limit of #cls in var elimination

§elm_var_occ: usize

Max #cls for var elimination

§vrw_dcy_rat: f64

Var Reward Decay Rate

§vrw_dcy_stp: f64

Decay increment step.

Implementations§

Trait Implementations§

source§

impl Clone for Config

source§

fn clone(&self) -> Config

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Config

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Config

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T> From<T> for Config
where PathBuf: From<T>,

source§

fn from(path: T) -> Config

Converts to this type from the input type.
source§

impl PropertyDereference<Tf64, f64> for Config

source§

fn derefer(&self, k: Tf64) -> f64

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.