pub struct PlannerDebugState {
pub iterations: u32,
pub tree_size: u32,
pub tree_path_len: u32,
pub best_cost: Length,
pub published_cost: Length,
pub published_quality: Quality,
}Expand description
What a remote debugger sees of a planner node: the progress of the job, not the thousands of tree nodes behind it.
Always built, not only under a debug feature: the anytime task’s debug
hooks are plain trait methods with no cfg on them.
Fields§
§iterations: u32§tree_size: u32§tree_path_len: u32Nodes on the best path before it is shortcut for publication.
best_cost: LengthCost of the best path in the tree, infinite while there is none.
published_cost: LengthCost of the path currently in the output.
published_quality: QualityTrait Implementations§
Source§impl Debug for PlannerDebugState
impl Debug for PlannerDebugState
Source§impl Default for PlannerDebugState
impl Default for PlannerDebugState
Source§fn default() -> PlannerDebugState
fn default() -> PlannerDebugState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlannerDebugState
impl RefUnwindSafe for PlannerDebugState
impl Send for PlannerDebugState
impl Sync for PlannerDebugState
impl Unpin for PlannerDebugState
impl UnsafeUnpin for PlannerDebugState
impl UnwindSafe for PlannerDebugState
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
impl<T> GetTypeRegistration for T
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