pub struct MinimaArgs {Show 22 fields
pub method: MinimaMethod,
pub n_minima: usize,
pub max_solves: Option<usize>,
pub patience: usize,
pub dedup: f64,
pub psd_tol: f64,
pub seed: u64,
pub sobol: bool,
pub sigma: Option<f64>,
pub sigma_frac: Option<f64>,
pub amplitude: Option<f64>,
pub amp_margin: Option<f64>,
pub eta: Option<f64>,
pub power: Option<f64>,
pub soft: Option<f64>,
pub length: Option<f64>,
pub length_frac: Option<f64>,
pub gamma: Option<f64>,
pub samples_per_round: Option<usize>,
pub step: Option<f64>,
pub temperature: Option<f64>,
pub restart_jitter: Option<f64>,
}Expand description
Parsed --minima configuration. Shared knobs have concrete defaults;
strategy-specific knobs are Options resolved per-method in the driver
(so "auto" widths and curvature-based amplitudes match
pounce.find_minima). Field semantics mirror _minima.py exactly.
Fields§
§method: MinimaMethod§n_minima: usizeTarget: stop once this many distinct minima are found (default 10).
max_solves: Option<usize>Budget: hard cap on solver calls (default 8 * n_minima).
patience: usizeGive-up: stop after this many solves in a row that find nothing new.
dedup: f64Two minima within this scaled distance are the same (default 1e-4).
psd_tol: f64Smallest Hessian eigenvalue tolerated by saddle rejection (1e-6).
seed: u64Seed for the sampler / Sobol’ scramble (default 0; reproducible).
sobol: boolUse a scrambled Sobol’ sequence for box sampling (default true).
sigma: Option<f64>§sigma_frac: Option<f64>§amplitude: Option<f64>§amp_margin: Option<f64>§eta: Option<f64>§power: Option<f64>§soft: Option<f64>§length: Option<f64>§length_frac: Option<f64>§gamma: Option<f64>§samples_per_round: Option<usize>§step: Option<f64>§temperature: Option<f64>§restart_jitter: Option<f64>Trait Implementations§
Source§impl Clone for MinimaArgs
impl Clone for MinimaArgs
Source§fn clone(&self) -> MinimaArgs
fn clone(&self) -> MinimaArgs
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 moreSource§impl Debug for MinimaArgs
impl Debug for MinimaArgs
Auto Trait Implementations§
impl Freeze for MinimaArgs
impl RefUnwindSafe for MinimaArgs
impl Send for MinimaArgs
impl Sync for MinimaArgs
impl Unpin for MinimaArgs
impl UnsafeUnpin for MinimaArgs
impl UnwindSafe for MinimaArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Converts
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>
Converts
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