Skip to main content

pounce_algorithm/mu/oracle/
trait.rs

1//! `MuOracle` trait — port of `IpMuOracle.hpp`.
2
3use pounce_common::types::Number;
4
5pub trait MuOracle {
6    /// Probe the next mu given the current iterate state. Phase 10
7    /// fills in the actual signatures; trait surface here keeps the
8    /// option matrix matchable in `AlgBuilder`.
9    fn calculate_mu(&mut self) -> Option<Number>;
10}