pub struct Solver<'a, P> { /* private fields */ }Implementations§
Source§impl<'a, P: Solve> Solver<'a, P>
impl<'a, P: Solve> Solver<'a, P>
pub fn new(problem: &'a mut P) -> Solver<'a, P>
pub fn next_solution<C: Choose<P>>(&mut self, chooser: &mut C) -> bool
pub fn fmt_solution(&mut self) -> &[Int] ⓘ
pub fn get_updates(&mut self) -> isize
pub fn get_profile(&self) -> &[usize]
Auto Trait Implementations§
impl<'a, P> Freeze for Solver<'a, P>
impl<'a, P> RefUnwindSafe for Solver<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for Solver<'a, P>where
P: Send,
impl<'a, P> Sync for Solver<'a, P>where
P: Sync,
impl<'a, P> Unpin for Solver<'a, P>
impl<'a, P> !UnwindSafe for Solver<'a, P>
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