pub struct ContourStats {
pub threshold: f64,
pub expanded: usize,
pub new_unique: usize,
pub reexpanded: usize,
pub generated: usize,
pub threshold_prunes: usize,
pub cycle_prunes: usize,
pub transposition_prunes: usize,
pub max_depth: usize,
}Expand description
Per-contour (per-threshold-iteration) statistics for IDA* diagnostics.
Each contour corresponds to one depth-first search pass at a fixed
f-cost threshold. Tracking per-contour effort reveals how re-expansion
grows across successive thresholds and where the budget is consumed.
Fields§
§threshold: f64The f-cost threshold used for this contour.
expanded: usizeNodes expanded during this contour (includes re-expansions).
new_unique: usizeNodes expanded here that were never expanded in any prior contour.
reexpanded: usizeNodes expanded here that were already expanded in a prior contour.
generated: usizeNodes generated (pushed onto the DFS stack) during this contour.
threshold_prunes: usizeNodes pruned by f > threshold during this contour.
cycle_prunes: usizeNodes pruned by the current-path cycle check during this contour.
transposition_prunes: usizeNodes pruned by transposition (cost) comparison during this contour.
max_depth: usizeMaximum recursion depth reached during this contour.
Trait Implementations§
Source§impl Clone for ContourStats
impl Clone for ContourStats
Source§fn clone(&self) -> ContourStats
fn clone(&self) -> ContourStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ContourStats
impl Debug for ContourStats
Source§impl Default for ContourStats
impl Default for ContourStats
Source§fn default() -> ContourStats
fn default() -> ContourStats
Source§impl PartialEq for ContourStats
impl PartialEq for ContourStats
impl Copy for ContourStats
impl StructuralPartialEq for ContourStats
Auto Trait Implementations§
impl Freeze for ContourStats
impl RefUnwindSafe for ContourStats
impl Send for ContourStats
impl Sync for ContourStats
impl Unpin for ContourStats
impl UnsafeUnpin for ContourStats
impl UnwindSafe for ContourStats
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§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.