pub struct Adaptive {
pub intensity: Levels<u64>,
pub frequency: Levels<f64>,
pub window: u64,
pub floor: f64,
}Expand description
The adaptive schedule: frequency and intensity levels whose probabilities follow the relative fitness gain per evaluation they produced.
The gain of one local search is (before - after) / max(|before|, 1e-12); its benefit
is the gain divided by the evaluations spent. After window local searches the levels used
in that window share their probability mass in proportion to their mean benefit (moving
halfway there), unused levels keep theirs, and a floor of floor / levels keeps every
level alive. The update rule is a reconstruction: Jakob (2021) describes cost-benefit
adaptation without formulas.
Limitation: the benefit is measured per local search, so it reflects intensity directly but frequency only weakly (a frequency level is credited with the searches it triggered, not with what the skipped offspring would have cost); intensity is the parameter that really adapts.
Fields§
§intensity: Levels<u64>The evaluation caps to choose from.
frequency: Levels<f64>The improvement probabilities to choose from.
window: u64Local searches between adaptations.
floor: f64The probability floor, spread over the levels.