pub struct MinimizeConfig {
pub max_passes: usize,
pub enable_dedup: bool,
}Expand description
Configuration for ProofMinimizer.
Fields§
§max_passes: usizeMaximum number of minimization passes (dedup + trim loop). Defaults to 4.
enable_dedup: boolWhether to perform hash-cons deduplication.
When false, only structural cone reduction is applied.
Defaults to true.
Implementations§
Source§impl MinimizeConfig
impl MinimizeConfig
Sourcepub fn without_dedup(self) -> Self
pub fn without_dedup(self) -> Self
Disable hash-cons deduplication (only cone reduction runs).
Sourcepub fn with_max_passes(self, passes: usize) -> Self
pub fn with_max_passes(self, passes: usize) -> Self
Set the maximum number of passes.
Trait Implementations§
Source§impl Clone for MinimizeConfig
impl Clone for MinimizeConfig
Source§fn clone(&self) -> MinimizeConfig
fn clone(&self) -> MinimizeConfig
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 MinimizeConfig
impl Debug for MinimizeConfig
Auto Trait Implementations§
impl Freeze for MinimizeConfig
impl RefUnwindSafe for MinimizeConfig
impl Send for MinimizeConfig
impl Sync for MinimizeConfig
impl Unpin for MinimizeConfig
impl UnsafeUnpin for MinimizeConfig
impl UnwindSafe for MinimizeConfig
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