[−][src]Struct ipasir::ffi::Solver
The incremental solver implementing the IPASIR interface.
Trait Implementations
impl Drop for Solver
[src]
impl IpasirSolver for Solver
[src]
fn signature(&self) -> &'static str
[src]
fn init() -> Solver
[src]
fn add_clause<I, L>(&mut self, lits: I) where
I: IntoIterator<Item = L>,
L: Into<Lit>,
[src]
I: IntoIterator<Item = L>,
L: Into<Lit>,
fn assume(&mut self, lit: Lit)
[src]
fn solve(&mut self) -> Result<SolveResponse>
[src]
fn val(&mut self, lit: Lit) -> Result<LitValue>
[src]
fn failed(&mut self, lit: Lit) -> Result<bool>
[src]
fn set_terminate<F>(&mut self, cb: F) where
F: FnMut() -> SolveControl + 'static,
[src]
F: FnMut() -> SolveControl + 'static,
fn set_learn<F>(&mut self, max_len: usize, cb: F) where
F: FnMut(Clause) + 'static,
[src]
F: FnMut(Clause) + 'static,
impl Send for Solver
[src]
impl Sync for Solver
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,