pub struct PathDecision {
pub step: usize,
pub decision_type: String,
pub current_segment: String,
pub options: Vec<String>,
pub option_probabilities: Vec<f64>,
pub chosen_option: String,
pub reason: String,
}Expand description
A decision point in the Viterbi path decoding process
Fields§
§step: usizeStep number (position index in the GNSS sequence)
decision_type: StringType of decision (e.g., “viterbi_transition”, “viterbi_break”, “viterbi_init”)
current_segment: StringNetelement chosen at this step
options: Vec<String>Candidate netelements considered at this step
option_probabilities: Vec<f64>Log-probabilities for each candidate at this step
chosen_option: StringWhich netelement was chosen (best Viterbi state)
reason: StringReason for the choice
Trait Implementations§
Source§impl Clone for PathDecision
impl Clone for PathDecision
Source§fn clone(&self) -> PathDecision
fn clone(&self) -> PathDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathDecision
impl Debug for PathDecision
Source§impl<'de> Deserialize<'de> for PathDecision
impl<'de> Deserialize<'de> for PathDecision
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 PathDecision
impl RefUnwindSafe for PathDecision
impl Send for PathDecision
impl Sync for PathDecision
impl Unpin for PathDecision
impl UnsafeUnpin for PathDecision
impl UnwindSafe for PathDecision
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