pub struct SensOptions {
pub compute_red_hessian: bool,
pub run_sens: bool,
pub n_sens_steps: i32,
pub obj_scal: f64,
pub rh_eigendecomp: bool,
}Expand description
Numeric / boolean knobs that drive a SensApplication. The
fields’ names + defaults mirror the option keys registered in
register_options.
Fields§
§compute_red_hessian: boolWhether to compute the reduced Hessian. Mapped from
compute_red_hessian (upstream
SensApplication.cpp:73-75).
run_sens: boolWhether to run the sensitivity step. Mapped from run_sens
(SensApplication.cpp:80-83).
n_sens_steps: i32Number of parameter perturbations to step. Mapped from
n_sens_steps (default 1, upstream
SensApplication.cpp:60-62).
Only 1 is implemented, and nothing reads this field: the
pipeline below computes the single sens_state_1 tier. Rather
than let a larger value round quietly down to one tier, the
n_sens_steps option is refused above its default by
[pounce_algorithm::unimplemented_options] (gh#677). The field
stays for shape-compatibility with upstream’s SensOptions.
obj_scal: f64Objective scaling factor to apply when reporting the reduced Hessian. Default 1.0; pounce’s IPM-side scaling lands in Phase B.2’s algorithm-wrapper.
rh_eigendecomp: boolWhether to also compute the eigendecomposition of the reduced
Hessian. Mapped from rh_eigendecomp (upstream
SensReducedHessianCalculator.cpp:38).
Trait Implementations§
Source§impl Clone for SensOptions
impl Clone for SensOptions
Source§fn clone(&self) -> SensOptions
fn clone(&self) -> SensOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SensOptions
Source§impl Debug for SensOptions
impl Debug for SensOptions
Source§impl Default for SensOptions
impl Default for SensOptions
Source§fn default() -> SensOptions
fn default() -> SensOptions
Auto Trait Implementations§
impl Freeze for SensOptions
impl RefUnwindSafe for SensOptions
impl Send for SensOptions
impl Sync for SensOptions
impl Unpin for SensOptions
impl UnsafeUnpin for SensOptions
impl UnwindSafe for SensOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more