pub struct ExecutionPlan {
pub backend: BackendType,
pub predicted_memory_bytes: u64,
pub predicted_runtime_ms: f64,
pub confidence: f64,
pub verification_policy: VerificationPolicy,
pub mitigation_strategy: MitigationStrategy,
pub entanglement_budget: Option<EntanglementBudget>,
pub explanation: String,
pub cost_breakdown: CostBreakdown,
}Expand description
A concrete execution plan produced by the cost-model planner.
Contains the selected backend, predicted resource usage, verification and mitigation policies, and an optional entanglement budget for tensor-network simulation.
Fields§
§backend: BackendTypeSelected simulation backend.
predicted_memory_bytes: u64Predicted peak memory usage in bytes.
predicted_runtime_ms: f64Predicted wall-clock runtime in milliseconds.
confidence: f64Confidence in the plan (0.0 to 1.0).
verification_policy: VerificationPolicyHow to verify the simulation result.
mitigation_strategy: MitigationStrategyError mitigation strategy to apply.
entanglement_budget: Option<EntanglementBudget>Entanglement budget for tensor-network backends.
explanation: StringHuman-readable explanation of the planning decisions.
cost_breakdown: CostBreakdownBreakdown of computational costs.
Trait Implementations§
Source§impl Clone for ExecutionPlan
impl Clone for ExecutionPlan
Source§fn clone(&self) -> ExecutionPlan
fn clone(&self) -> ExecutionPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnsafeUnpin for ExecutionPlan
impl UnwindSafe for ExecutionPlan
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