pub struct MinCutConfig {
pub max_exact_cut_size: usize,
pub epsilon: f64,
pub approximate: bool,
pub parallel: bool,
pub cache_size: usize,
}Expand description
Configuration for the minimum cut algorithm
Fields§
§max_exact_cut_size: usizeMaximum cut size supported for exact algorithm
epsilon: f64Epsilon for approximate algorithm (0 < ε ≤ 1)
approximate: boolWhether to use approximate mode
parallel: boolEnable parallel computation
cache_size: usizeCache size for intermediate results
Trait Implementations§
Source§impl Clone for MinCutConfig
impl Clone for MinCutConfig
Source§fn clone(&self) -> MinCutConfig
fn clone(&self) -> MinCutConfig
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 MinCutConfig
impl Debug for MinCutConfig
Auto Trait Implementations§
impl Freeze for MinCutConfig
impl RefUnwindSafe for MinCutConfig
impl Send for MinCutConfig
impl Sync for MinCutConfig
impl Unpin for MinCutConfig
impl UnwindSafe for MinCutConfig
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