Enum TieBreak
#[non_exhaustive]pub enum TieBreak {
Strict,
Seeded,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Strict
Only strictly better members count against the reporter, so a trial tied with the field is never an underperformer. A population that reports one shared value — a sparse reward still at zero — never exploits.
Seeded
The reporter takes a uniformly drawn position inside its tie group, so a fully tied population exploits its bottom quantile in expectation. The draw comes from a stream derived from the reporting trial’s seed and the step, separate from the parent and perturbation draws, so it is reproducible single-worker and leaves those draws unchanged.
Trait Implementations§
impl Copy for TieBreak
impl Eq for TieBreak
impl StructuralPartialEq for TieBreak
Auto Trait Implementations§
impl Freeze for TieBreak
impl RefUnwindSafe for TieBreak
impl Send for TieBreak
impl Sync for TieBreak
impl Unpin for TieBreak
impl UnsafeUnpin for TieBreak
impl UnwindSafe for TieBreak
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
Mutably borrows from an owned value. Read more