pub struct ScenarioSourceConfig {
pub branching_factor: usize,
pub noise_method: NoiseMethod,
}Expand description
Scenario source configuration for one stage.
Groups the scenario-related settings that were formerly separate
num_scenarios and sampling_method fields. Sourced from
stages.json scenario_source and per-stage overrides.
Fields§
§branching_factor: usizeNumber of noise realizations per stage for both the opening
tree and forward pass. Formerly num_scenarios.
Must be positive. Controls the per-stage branching factor.
noise_method: NoiseMethodAlgorithm for generating noise vectors in the opening tree.
Orthogonal to SamplingScheme, which selects the noise
source (in-sample, external, historical).
Can vary per stage, allowing adaptive strategies (e.g., LHS
for near-term, SAA for distant stages).
Trait Implementations§
Source§impl Clone for ScenarioSourceConfig
impl Clone for ScenarioSourceConfig
Source§fn clone(&self) -> ScenarioSourceConfig
fn clone(&self) -> ScenarioSourceConfig
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 moreSource§impl Debug for ScenarioSourceConfig
impl Debug for ScenarioSourceConfig
Source§impl PartialEq for ScenarioSourceConfig
impl PartialEq for ScenarioSourceConfig
impl Copy for ScenarioSourceConfig
impl Eq for ScenarioSourceConfig
impl StructuralPartialEq for ScenarioSourceConfig
Auto Trait Implementations§
impl Freeze for ScenarioSourceConfig
impl RefUnwindSafe for ScenarioSourceConfig
impl Send for ScenarioSourceConfig
impl Sync for ScenarioSourceConfig
impl Unpin for ScenarioSourceConfig
impl UnsafeUnpin for ScenarioSourceConfig
impl UnwindSafe for ScenarioSourceConfig
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