Enum MoSearcher
pub enum MoSearcher {
Random,
Tpe,
Nsga2,
CrowdBlind,
TpeHssp,
Nsga3,
}Expand description
Which searcher a run drives.
Variants§
Random
Uniform independent sampling — the baseline every claim is measured against.
Tpe
The Tree-structured Parzen Estimator at its defaults. Recorded
honestly rather than omitted: default [Tpe] is not
multi-objective-aware — with more than one direction it falls back to
the uniform Random draw (the legacy
behavior [Tpe::with_hssp] documents), so on these problems it samples
exactly what Random samples. The MOTPE split is
the opt-in TpeHssp.
Nsga2
The real [Nsga2].
CrowdBlind
The regression sentinel: NSGA-II with crowding distance deleted
(CrowdlessNsga2).
TpeHssp
[Tpe] with the opt-in Optuna 5-style multi-objective split
([Tpe::with_hssp]): nondomination-rank fronts, HSSP (exact
hypervolume subset selection) on the partial front — MOTPE. Measured by
the atune-mo-suite harness, not gated by the oracle.
Nsga3
The opt-in reference-point [Nsga3], at the same population as
Nsga2. Measured by the atune-mo-suite harness,
not gated by the oracle.
Implementations§
§impl MoSearcher
impl MoSearcher
pub const MEASURED: [Self; 5]
pub const MEASURED: [Self; 5]
The arms the atune-mo-suite measurement harness runs by default, in a
fixed order: the baseline, both TPE configurations, and both genetic
algorithms. Separate from ALL, which is the
oracle’s gated set and stays unchanged.
pub fn from_label(label: &str) -> Option<Self>
pub fn from_label(label: &str) -> Option<Self>
The searcher whose label is label, if any.
pub fn build(self, population: usize) -> Result<Arc<dyn Sampler>>
pub fn build(self, population: usize) -> Result<Arc<dyn Sampler>>
Builds a fresh sampler of this kind.
§Errors
Error::InvalidSpace if population
is outside the legal range (the population-based kinds only).
Trait Implementations§
§impl Clone for MoSearcher
impl Clone for MoSearcher
§fn clone(&self) -> MoSearcher
fn clone(&self) -> MoSearcher
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MoSearcher
§impl Debug for MoSearcher
impl Debug for MoSearcher
impl Eq for MoSearcher
§impl PartialEq for MoSearcher
impl PartialEq for MoSearcher
impl StructuralPartialEq for MoSearcher
Auto Trait Implementations§
impl Freeze for MoSearcher
impl RefUnwindSafe for MoSearcher
impl Send for MoSearcher
impl Sync for MoSearcher
impl Unpin for MoSearcher
impl UnsafeUnpin for MoSearcher
impl UnwindSafe for MoSearcher
Blanket Implementations§
impl<T> Boilerplate for T
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
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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