pub enum StateKind {
Started,
Sampled,
Evaluated,
Compared,
Adjusted,
Mutated,
Finished,
}Expand description
PBIL state kind.
Variants§
Started
Iteration started.
Sampled
Sample generated.
Evaluated
Sample evaluated.
Compared
Samples compared.
Adjusted
Probabilities adjusted.
Mutated
Probabilities mutated.
Finished
Iteration finished.
Implementations§
Source§impl StateKind
impl StateKind
pub fn is_started(&self) -> bool
pub fn is_sampled(&self) -> bool
pub fn is_evaluated(&self) -> bool
pub fn is_compared(&self) -> bool
pub fn is_adjusted(&self) -> bool
pub fn is_mutated(&self) -> bool
pub fn is_finished(&self) -> bool
Trait Implementations§
impl StructuralPartialEq for StateKind
Auto Trait Implementations§
impl Freeze for StateKind
impl RefUnwindSafe for StateKind
impl Send for StateKind
impl Sync for StateKind
impl Unpin for StateKind
impl UnwindSafe for StateKind
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