pub struct Allocation {
pub n: Vec<usize>,
pub cost: f64,
pub variance: f64,
pub bounded: bool,
}Expand description
An allocation and what it attains.
Fields§
§n: Vec<usize>Sample size per stratum.
cost: f64Total cost sum c_h n_h.
variance: f64Variance of the estimated total attained.
bounded: boolWhether a bound (2 <= n_h <= N_h) was active.
Trait Implementations§
Source§impl Clone for Allocation
impl Clone for Allocation
Source§impl Debug for Allocation
impl Debug for Allocation
Source§impl PartialEq for Allocation
impl PartialEq for Allocation
impl StructuralPartialEq for Allocation
Auto Trait Implementations§
impl Freeze for Allocation
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnsafeUnpin for Allocation
impl UnwindSafe for Allocation
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