pub struct SolveStats {
pub backtracks: u64,
pub nodes_explored: u64,
pub propagations: u64,
pub budget_exceeded: bool,
}Expand description
Solver statistics.
Fields§
§backtracks: u64§nodes_explored: u64§propagations: u64§budget_exceeded: boolSet to true when the last search hit its
SolveConfig::node_budget and aborted early.
Solutions returned alongside this flag are best-so-far, not
necessarily optimal.
Trait Implementations§
Source§impl Clone for SolveStats
impl Clone for SolveStats
Source§fn clone(&self) -> SolveStats
fn clone(&self) -> SolveStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SolveStats
impl Debug for SolveStats
Source§impl Default for SolveStats
impl Default for SolveStats
Source§fn default() -> SolveStats
fn default() -> SolveStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SolveStats
impl RefUnwindSafe for SolveStats
impl Send for SolveStats
impl Sync for SolveStats
impl Unpin for SolveStats
impl UnsafeUnpin for SolveStats
impl UnwindSafe for SolveStats
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