Version: dev

plan_backend

Stable type · The planner

Tier: stable · Kind: type · Topic: The planner

JuliaRust
PlanBackendnot exported

Julia

abstract type PlanBackend
PlanBackend

What the planner needs from EarthSciASTDiff (M2 stage 2): a term’s bands (§5.2.2), an operator’s structure (§5.4), the Gershgorin bound (§5.5.2), and the derived documents with their validation (§6, §8). Each method may return nothing for “not available in this stage”; the planner raises PlannerStageError where it needs the value.

Methods:

  • term_bands(backend, ctx, term) -> Union{Vector{BandEntry}, Nothing}
  • operator_structure(backend, ctx, op) -> Union{AbstractDict, Nothing} (the plan’s structure object)
  • gershgorin_bound(backend, ctx, op) -> Union{Float64, Nothing} (max_s ρ(u_s, p, t_s))
  • derived_and_validation(backend, ctx) -> Union{Tuple{AbstractDict, AbstractVector}, Nothing}

Source

Rust

Rust does not export this type.