shrinkage::SolverObserver
Shrinkage for Rust · rust · 0.3.0
Source: src/solver/observer.rs
A read-only consumer of solver states.
Closures accepting SolverStep implement this trait. Copy any parameters that must outlive a callback. Observers cannot alter stopping or acceptance.
Methods
observe
Source: src/solver/observer.rs
Observe initialization, an accepted update, or the final state.
observe_inner
Source: src/solver/observer.rs
Observe an update inside an outer iteration.
These states solve a surrogate or a block restriction. They need not decrease the original objective or become an accepted outer state. The default ignores them, including for closure observers. outer_iteration identifies the parent IRLS update or hybrid sweep.
