Struct ProgressiveMonteCarloGovernor
#[repr(C)]pub struct ProgressiveMonteCarloGovernor {
pub accumulated_samples: u32,
pub target_samples: u32,
pub noise_variance_estimate: f32,
pub variance_epsilon: f32,
pub is_converged: bool,
pub power_throttle_active: bool,
}Expand description
Phase 4: Manages static scene dwell, progressive Monte Carlo convergence, and power throttling.
Fields§
§accumulated_samples: u32§target_samples: u32§noise_variance_estimate: f32§variance_epsilon: f32§is_converged: bool§power_throttle_active: boolImplementations§
§impl ProgressiveMonteCarloGovernor
impl ProgressiveMonteCarloGovernor
pub fn tick_frame(&mut self, scene_delta_magnitude: f32)
pub fn tick_frame(&mut self, scene_delta_magnitude: f32)
Ticks the progressive convergence state machine:
When scene motion delta $\Delta S_t < 1e-4$:
- Accumulates Monte Carlo samples: $N \leftarrow N + 1$
- Evaluates estimated noise variance: $\sigma^2 \propto 1/N$
- Activates power throttle once $\sigma^2 < \epsilon$
When motion detected: instantly resets accumulation to 0.
Trait Implementations§
§impl Clone for ProgressiveMonteCarloGovernor
impl Clone for ProgressiveMonteCarloGovernor
§fn clone(&self) -> ProgressiveMonteCarloGovernor
fn clone(&self) -> ProgressiveMonteCarloGovernor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProgressiveMonteCarloGovernor
§impl Debug for ProgressiveMonteCarloGovernor
impl Debug for ProgressiveMonteCarloGovernor
§impl Default for ProgressiveMonteCarloGovernor
impl Default for ProgressiveMonteCarloGovernor
§fn default() -> ProgressiveMonteCarloGovernor
fn default() -> ProgressiveMonteCarloGovernor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProgressiveMonteCarloGovernor
impl RefUnwindSafe for ProgressiveMonteCarloGovernor
impl Send for ProgressiveMonteCarloGovernor
impl Sync for ProgressiveMonteCarloGovernor
impl Unpin for ProgressiveMonteCarloGovernor
impl UnsafeUnpin for ProgressiveMonteCarloGovernor
impl UnwindSafe for ProgressiveMonteCarloGovernor
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