pub fn sample_interventional(
model: &CompiledCausalModel,
interventions: &[Intervention],
n_rows: usize,
rng: &mut CausalRng,
ws: &mut MechanismWorkspace,
_ctx: &ExecutionContext,
) -> Result<ValueBatch, ModelError>Expand description
Sample under interventions (compiled to an overlay; model is not cloned).
ยงErrors
Overlay / mechanism failures.