pub struct LazyDetectorErrorModel {
pub detectors: Vec<Detector>,
pub observables: Vec<LogicalObservable>,
pub event_plan: Arc<DemEventPlan>,
/* private fields */
}Fields§
§detectors: Vec<Detector>§observables: Vec<LogicalObservable>§event_plan: Arc<DemEventPlan>Implementations§
Source§impl LazyDetectorErrorModel
impl LazyDetectorErrorModel
Sourcepub fn is_graphlike(&self) -> bool
pub fn is_graphlike(&self) -> bool
Test whether parity-reduced lazy DEM edges satisfy graphlike constraints.
Sourcepub fn compile_graphlike_problem(&self) -> NpResult<GraphlikeDecodingProblem>
pub fn compile_graphlike_problem(&self) -> NpResult<GraphlikeDecodingProblem>
Compile directly into the compact graphlike representation without materializing location labels, events, or tag dictionaries.
Sourcepub fn compile_hotspot_estimator(&self) -> DemHotspotEstimator
pub fn compile_hotspot_estimator(&self) -> DemHotspotEstimator
Compile the lazy integer DEM directly into a sampler without materializing location labels or tag dictionaries.
pub fn materialize(&self) -> DetectorErrorModel
Trait Implementations§
Source§impl Clone for LazyDetectorErrorModel
impl Clone for LazyDetectorErrorModel
Source§impl Debug for LazyDetectorErrorModel
impl Debug for LazyDetectorErrorModel
Source§impl PartialEq for LazyDetectorErrorModel
impl PartialEq for LazyDetectorErrorModel
impl StructuralPartialEq for LazyDetectorErrorModel
Auto Trait Implementations§
impl Freeze for LazyDetectorErrorModel
impl RefUnwindSafe for LazyDetectorErrorModel
impl Send for LazyDetectorErrorModel
impl Sync for LazyDetectorErrorModel
impl Unpin for LazyDetectorErrorModel
impl UnsafeUnpin for LazyDetectorErrorModel
impl UnwindSafe for LazyDetectorErrorModel
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