pub enum SolverConfig {
LevenbergMarquardt(LmConfig),
PoissonKL(PoissonConfig),
Auto,
}Expand description
Solver-specific configuration.
Carries the full solver config inside each variant, making invalid combinations unrepresentable.
Variants§
LevenbergMarquardt(LmConfig)
Levenberg-Marquardt chi-squared minimizer (transmission path).
PoissonKL(PoissonConfig)
Poisson-KL counts-domain fitter.
For counts inputs this dispatches to the joint-Poisson profile-
binomial-deviance path (joint_poisson_fit) validated in memo 35
§P1/§P2 and memo 38. Uses an explicit c = Q_s/Q_ob from
CountsBackgroundConfig::c and reports D/(n − k) as the primary
GOF. Stage-1 damped Fisher + optional Nelder-Mead polish (see
[nereids_fitting::joint_poisson::JointPoissonFitConfig]).
For transmission inputs this dispatches to Poisson NLL on the
transmission values directly (legacy path, unchanged). The payload
PoissonConfig carries max_iter common to both dispatches.
Auto
Automatic: Counts → PoissonKL (counts-domain joint-Poisson), Transmission → LM.
Trait Implementations§
Source§impl Clone for SolverConfig
impl Clone for SolverConfig
Source§fn clone(&self) -> SolverConfig
fn clone(&self) -> SolverConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SolverConfig
impl Debug for SolverConfig
Source§impl Default for SolverConfig
impl Default for SolverConfig
Source§fn default() -> SolverConfig
fn default() -> SolverConfig
Auto Trait Implementations§
impl Freeze for SolverConfig
impl RefUnwindSafe for SolverConfig
impl Send for SolverConfig
impl Sync for SolverConfig
impl Unpin for SolverConfig
impl UnsafeUnpin for SolverConfig
impl UnwindSafe for SolverConfig
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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