#[non_exhaustive]pub struct Statistics {
pub expanded: u64,
pub generated: u64,
pub dominated: u64,
pub dead_ends: u64,
pub stored: u64,
pub simulated_leaves: u64,
pub reduced_leaf_transitions: u64,
pub bound_pruned: u64,
pub unreachable_leaf_states: u64,
pub stubborn_pruned: u64,
}Expand description
Counters of one search run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.expanded: u64Decoupled states expanded (popped and not past the stopping key).
generated: u64Successors generated, the initial state included.
dominated: u64Generated states pruned because a stored state dominates them.
dead_ends: u64Generated states pruned because the heuristic declared them dead ends.
stored: u64States stored (and pushed on the open list).
simulated_leaves: u64Leaf simulations computed (one per analysed leaf, if any criterion or
Config::reduce_leaves needed them).
reduced_leaf_transitions: u64Leaf transitions removed by Config::reduce_leaves.
bound_pruned: u64Generated states pruned by anytime A* (Config::anytime_astar)
because g plus the fork heuristic reaches the best solution cost.
unreachable_leaf_states: u64Leaf states that Config::reduce_leaves made unreachable from the
initial leaf states (under every center).
stubborn_pruned: u64Applicable global actions that Config::stubborn_sets left out,
summed over the expanded states.
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
impl Copy for Statistics
Source§impl Debug for Statistics
impl Debug for Statistics
Source§impl Default for Statistics
impl Default for Statistics
impl Eq for Statistics
Source§impl PartialEq for Statistics
impl PartialEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl Forget for Statistics
impl Freeze for Statistics
impl Move for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnsafeUnpin for Statistics
impl UnwindSafe for Statistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more