pub struct OrdealSolver { /* private fields */ }Expand description
The default engine: pure-Rust ordeal under a per-query wall-clock
deadline (with a conflict budget as the disabled-deadline fallback).
Implementations§
Source§impl OrdealSolver
impl OrdealSolver
Sourcepub fn new() -> Self
pub fn new() -> Self
New solver bounded by SYNTH_ORDEAL_DEADLINE_MS (default
[DEFAULT_DEADLINE_MS]; 0 = deadline off), falling back to the
SYNTH_ORDEAL_MAX_CONFLICTS conflict budget (default
[DEFAULT_MAX_CONFLICTS]; 0 = unbounded) when the deadline is off.
Sourcepub fn with_deadline_ms(deadline_ms: u64) -> Self
pub fn with_deadline_ms(deadline_ms: u64) -> Self
New solver with an explicit wall-clock budget in ms (0 = deadline
off). Env-independent, so tests can pin a budget without racing the
process-global environment.
Trait Implementations§
Source§impl BvSolver for OrdealSolver
impl BvSolver for OrdealSolver
Source§fn check(&mut self) -> CheckOutcome
fn check(&mut self) -> CheckOutcome
Decide satisfiability of the asserted conjunction.
Auto Trait Implementations§
impl Freeze for OrdealSolver
impl RefUnwindSafe for OrdealSolver
impl Send for OrdealSolver
impl Sync for OrdealSolver
impl Unpin for OrdealSolver
impl UnsafeUnpin for OrdealSolver
impl UnwindSafe for OrdealSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more