pub struct SolverStats {
pub assignments_tried: usize,
pub backtracks: usize,
pub constraint_checks: usize,
pub propagations: usize,
}Expand description
Statistics about CSP solving.
Fields§
§assignments_tried: usizeNumber of assignments tried
backtracks: usizeNumber of backtracks
constraint_checks: usizeNumber of constraint checks
propagations: usizeNumber of domain reductions from propagation
Trait Implementations§
Source§impl Clone for SolverStats
impl Clone for SolverStats
Source§fn clone(&self) -> SolverStats
fn clone(&self) -> SolverStats
Returns a duplicate of the value. Read more
1.0.0 · 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 SolverStats
impl Debug for SolverStats
Source§impl Default for SolverStats
impl Default for SolverStats
Source§fn default() -> SolverStats
fn default() -> SolverStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SolverStats
impl<'de> Deserialize<'de> for SolverStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SolverStats
impl RefUnwindSafe for SolverStats
impl Send for SolverStats
impl Sync for SolverStats
impl Unpin for SolverStats
impl UnwindSafe for SolverStats
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