pub struct DebugInfo {
pub candidate_paths: Vec<CandidatePath>,
pub position_candidates: Vec<PositionCandidates>,
pub decision_tree: Vec<PathDecision>,
pub netelement_probabilities: Vec<NetelementProbabilityInfo>,
pub transition_probabilities: Vec<TransitionProbabilityEntry>,
pub sanity_decisions: Vec<SanityDecision>,
pub gap_fills: Vec<GapFill>,
}Expand description
Debug information for path calculation (US7: T153)
Contains intermediate results for troubleshooting and parameter tuning.
Collected when PathConfig::debug_mode is enabled.
Fields§
§candidate_paths: Vec<CandidatePath>Viterbi path subsequences evaluated during path calculation
position_candidates: Vec<PositionCandidates>Candidates considered for each GNSS position
decision_tree: Vec<PathDecision>Viterbi decision trace showing state selection per timestep
netelement_probabilities: Vec<NetelementProbabilityInfo>Netelement probability information (emission probs + Viterbi membership)
transition_probabilities: Vec<TransitionProbabilityEntry>Transition probabilities between consecutive candidates (HMM state transitions)
sanity_decisions: Vec<SanityDecision>Sanity check decisions for each consecutive segment pair (post-Viterbi validation)
gap_fills: Vec<GapFill>Gap-fill records for each consecutive segment pair after sanity validation
Implementations§
Source§impl DebugInfo
impl DebugInfo
Sourcepub fn add_candidate_path(&mut self, path: CandidatePath)
pub fn add_candidate_path(&mut self, path: CandidatePath)
Add a candidate path to the debug info
Sourcepub fn add_position_candidates(&mut self, candidates: PositionCandidates)
pub fn add_position_candidates(&mut self, candidates: PositionCandidates)
Add position candidates info
Sourcepub fn add_decision(&mut self, decision: PathDecision)
pub fn add_decision(&mut self, decision: PathDecision)
Add a decision to the tree
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DebugInfo
impl<'de> Deserialize<'de> for DebugInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DebugInfo
impl RefUnwindSafe for DebugInfo
impl Send for DebugInfo
impl Sync for DebugInfo
impl Unpin for DebugInfo
impl UnsafeUnpin for DebugInfo
impl UnwindSafe for DebugInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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