pub struct Yield {
pub answered: u64,
pub no: u64,
pub stamps: u64,
pub missed: u64,
pub share: Option<f64>,
pub reward: f64,
pub alpha: f64,
pub beta: f64,
}Expand description
The queen’s attention reward over some counts (a bucket’s, or the team’s summed).
Fields§
§answered: u64Escalations answered: no + stamps.
no: u64§stamps: u64§missed: u64The share of answered escalations that ended in a “no”; None before any answer.
reward: f64R(queen) = no − α·stamps − β·missed.
alpha: f64§beta: f64Trait Implementations§
impl StructuralPartialEq for Yield
Auto Trait Implementations§
impl Freeze for Yield
impl RefUnwindSafe for Yield
impl Send for Yield
impl Sync for Yield
impl Unpin for Yield
impl UnsafeUnpin for Yield
impl UnwindSafe for Yield
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