Skip to main content

solve_with_policy

Function solve_with_policy 

Source
pub fn solve_with_policy(
    eph: &dyn EphemerisSource,
    inputs: &SolveInputs,
    with_geodetic: bool,
    policy: SolvePolicy,
) -> Result<ReceiverSolution, SolvePolicyError>
Expand description

Run SPP under the public API’s language-independent validation/orchestration policy.

Thin compatibility wrapper over the runtime strategy selector (crate::estimation::strategies::estimate): it drives the shared per-technique implementation [run] under the SPP reference strategy, which resolves to the SPP reference recipe. The reference strategy always yields an SPP solution or an SPP error, so the result is bit-identical to the recipe driving [run] directly.