pub struct GraphlikeDecompositionComponent {
pub detectors: Vec<i64>,
pub observables: Vec<i64>,
}Expand description
One graphlike component used to decompose a canonical DEM edge for decoding.
Detector and observable values are model IDs, not compact problem indices.
All components that originate from the same canonical edge retain that
edge’s probability and dem_edge_index in the compiled problem.
Fields§
§detectors: Vec<i64>§observables: Vec<i64>Trait Implementations§
impl Eq for GraphlikeDecompositionComponent
impl StructuralPartialEq for GraphlikeDecompositionComponent
Auto Trait Implementations§
impl Freeze for GraphlikeDecompositionComponent
impl RefUnwindSafe for GraphlikeDecompositionComponent
impl Send for GraphlikeDecompositionComponent
impl Sync for GraphlikeDecompositionComponent
impl Unpin for GraphlikeDecompositionComponent
impl UnsafeUnpin for GraphlikeDecompositionComponent
impl UnwindSafe for GraphlikeDecompositionComponent
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