pub struct FilterConstants {
pub degree: u32,
pub epsilon: f64,
pub kappa: f64,
pub d_min: f64,
pub d_max: f64,
}Expand description
The constants of the filter of a predicate, as f64.
The filter decides when d_min <= D <= d_max and
|value| > (epsilon * D + kappa * E) * D^(degree - 1).
Fields§
§degree: u32The degree k of the form.
epsilon: f64The coefficient of D^k, rounded up.
kappa: f64The coefficient of E * D^(k - 1), rounded up.
d_min: f64The smallest D for which the bound covers underflow: a power of two
below 1.
d_max: f64The largest D for which no node overflows: a power of two above 1.
Trait Implementations§
Source§impl Clone for FilterConstants
impl Clone for FilterConstants
impl Copy for FilterConstants
Source§impl Debug for FilterConstants
impl Debug for FilterConstants
Source§impl PartialEq for FilterConstants
impl PartialEq for FilterConstants
impl StructuralPartialEq for FilterConstants
Auto Trait Implementations§
impl Forget for FilterConstants
impl Freeze for FilterConstants
impl Move for FilterConstants
impl RefUnwindSafe for FilterConstants
impl Send for FilterConstants
impl Sync for FilterConstants
impl Unpin for FilterConstants
impl UnsafeUnpin for FilterConstants
impl UnwindSafe for FilterConstants
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