pub struct DecodeProjection {
pub base_hypergraph: DecodingHypergraph,
pub base_errors: Arc<Vec<ErrorIndex>>,
/* private fields */
}Expand description
Stable context for projecting shot-scoped updates onto a loaded hypergraph.
The base graph and error reference use original edge numbering. The private
edge projection translates that space into decoder edge numbering and
selects correction representatives from each shot’s effective
probabilities. The decoder-facing graph is consumed through
[PreparedDecoderInput].
Fields§
§base_hypergraph: DecodingHypergraphGraph before same-syndrome edge deduplication and before any shot-scoped probability or loss update.
base_errors: Arc<Vec<ErrorIndex>>Error-model generator represented by each edge of Self::base_hypergraph.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DecodeProjection
impl Freeze for DecodeProjection
impl Move for DecodeProjection
impl RefUnwindSafe for DecodeProjection
impl Send for DecodeProjection
impl Sync for DecodeProjection
impl Unpin for DecodeProjection
impl UnsafeUnpin for DecodeProjection
impl UnwindSafe for DecodeProjection
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request