Skip to main content

Module fusion

Module fusion 

Source
Expand description

Bounded, deterministic planning for combining independently sourced samples.

This module selects and aligns references; it does not merge physical sample values, perform coordinate transforms, authenticate inputs, or create evidence. A caller must apply the referenced mapping and preserve each source’s physical semantics when executing the plan.

Structs§

CoordinateMapping
Explicit spatial-coordinate mapping reference. maximum_error is expressed in the declared nonzero error unit. This metadata is not the transform and does not prove that the transform was applied correctly.
FusionClockStamp
A source clock timestamp with an integer nanosecond worst-case absolute error radius. The true timestamp is assumed to lie in the inclusive interval [max(0, ticks_ns - uncertainty_ns), ticks_ns + uncertainty_ns]. Clock IDs identify monotonic domains; they do not imply UTC or host time.
FusionPlanEntry
A selected plan entry, not a fused observation or evidence receipt.
FusionPolicy
Maximum number of selected samples and their maximum aligned time span. The time span is the union bound latest_upper - earliest_lower in the target clock. Callers must choose this temporal-coherence limit explicitly.
FusionSample
Candidate sample reference. Payload bytes remain in the caller’s storage; this record carries identity and interpretation metadata only.
FusionTarget
Target clock and coordinate frame for a plan.
FusionTimeWindow
Inclusive aligned time interval, expressed only in the target clock domain.
SampleQualityMetrics
TimeAlignment
An explicit, constant-offset mapping from a source clock/epoch into the selected target clock. It is valid only over the declared source-time range.

Enums§

FusionError
SampleQuality
Measurement quality is independent from source trust. Unknown is preserved.

Constants§

MAX_FUSION_CANDIDATES
Hard bound on candidate input size and output-plan size.

Functions§

plan_fusion
Build a deterministic bounded plan in caller-owned out storage.