pub struct SubpolyConfig {
pub phi: f64,
pub lambda_max: u64,
pub epsilon: f64,
pub target_levels: usize,
pub track_recourse: bool,
pub certify_cuts: bool,
pub parallel: bool,
}Expand description
Configuration for the subpolynomial algorithm
Fields§
§phi: f64Expansion parameter φ = 2^{-Θ(log^{3/4} n)} For n < 10^6, we use a practical approximation
lambda_max: u64Maximum cut size to support exactly λ_max = 2^{Θ(log^{3/4-c} n)}
epsilon: f64Approximation parameter ε for (1+ε)-approximate internal operations
target_levels: usizeTarget number of hierarchy levels: O(log^{1/4} n)
track_recourse: boolEnable recourse tracking for complexity verification
certify_cuts: boolEnable mirror cut certification
parallel: boolEnable parallel processing
Implementations§
Trait Implementations§
Source§impl Clone for SubpolyConfig
impl Clone for SubpolyConfig
Source§fn clone(&self) -> SubpolyConfig
fn clone(&self) -> SubpolyConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubpolyConfig
impl Debug for SubpolyConfig
Auto Trait Implementations§
impl Freeze for SubpolyConfig
impl RefUnwindSafe for SubpolyConfig
impl Send for SubpolyConfig
impl Sync for SubpolyConfig
impl Unpin for SubpolyConfig
impl UnwindSafe for SubpolyConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more