pub struct TfsDiagnostics {
pub visited_nodes: usize,
pub fractures: usize,
pub children_generated: usize,
pub children_admitted: usize,
pub max_anchors: usize,
pub max_taut_len: usize,
pub peak_frontier_len: usize,
pub memory_proxy: usize,
}Expand description
Expansion counters collected only by TopologicalFractureSearch::inspect.
Use for relative keep/revert comparisons on the same pack; not wall-clock
latency. memory_proxy is a node-count proxy, not heap byte size:
peak_frontier_len + visited_path_keys.
Fields§
§visited_nodes: usizeNodes dequeued from the best-first frontier (including the solution node).
fractures: usizeTimes an obstructed taut path was fractured against an obstacle.
children_generated: usizeChild candidates produced by fracture (before visited-set filtering).
children_admitted: usizeChildren inserted into the frontier (new taut path keys only).
max_anchors: usizePeak anchor-chain length observed on any node.
max_taut_len: usizePeak taut polyline vertex count observed on any node.
peak_frontier_len: usizePeak binary-heap size during search.
memory_proxy: usizepeak_frontier_len + |visited path keys| for relative memory ranking.
Trait Implementations§
Source§impl Clone for TfsDiagnostics
impl Clone for TfsDiagnostics
Source§fn clone(&self) -> TfsDiagnostics
fn clone(&self) -> TfsDiagnostics
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 TfsDiagnostics
Source§impl Debug for TfsDiagnostics
impl Debug for TfsDiagnostics
Source§impl Default for TfsDiagnostics
impl Default for TfsDiagnostics
Source§fn default() -> TfsDiagnostics
fn default() -> TfsDiagnostics
Returns the “default value” for a type. Read more
impl Eq for TfsDiagnostics
Source§impl PartialEq for TfsDiagnostics
impl PartialEq for TfsDiagnostics
impl StructuralPartialEq for TfsDiagnostics
Auto Trait Implementations§
impl Freeze for TfsDiagnostics
impl RefUnwindSafe for TfsDiagnostics
impl Send for TfsDiagnostics
impl Sync for TfsDiagnostics
impl Unpin for TfsDiagnostics
impl UnsafeUnpin for TfsDiagnostics
impl UnwindSafe for TfsDiagnostics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> ⓘ
Converts
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> ⓘ
Converts
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