pub struct SearchStats {
pub visited_nodes: usize,
}Expand description
Work counters produced by a grid search (algorithm-defined node visits).
visited_nodes is solver-local (cell expansions, jump stops, …); do not treat
it as a portable complexity metric across algorithms.
Fields§
§visited_nodes: usizeNodes the solver counts as expanded or settled (see algorithm docs).
Trait Implementations§
Source§impl Clone for SearchStats
impl Clone for SearchStats
Source§fn clone(&self) -> SearchStats
fn clone(&self) -> SearchStats
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 moreimpl Copy for SearchStats
Source§impl Debug for SearchStats
impl Debug for SearchStats
Source§impl Default for SearchStats
impl Default for SearchStats
Source§fn default() -> SearchStats
fn default() -> SearchStats
Returns the “default value” for a type. Read more
impl Eq for SearchStats
Source§impl PartialEq for SearchStats
impl PartialEq for SearchStats
Source§impl SearchVisitStats for SearchStats
impl SearchVisitStats for SearchStats
Source§fn visited_nodes(&self) -> usize
fn visited_nodes(&self) -> usize
Returns the number of nodes visited by the search.
impl StructuralPartialEq for SearchStats
Auto Trait Implementations§
impl Freeze for SearchStats
impl RefUnwindSafe for SearchStats
impl Send for SearchStats
impl Sync for SearchStats
impl Unpin for SearchStats
impl UnsafeUnpin for SearchStats
impl UnwindSafe for SearchStats
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