pub struct PartitionRefinement { /* private fields */ }Expand description
Partition refinement algorithm.
Implementations§
Source§impl PartitionRefinement
impl PartitionRefinement
Sourcepub fn refine_batch(&mut self, equalities: &[Equality]) -> Result<(), String>
pub fn refine_batch(&mut self, equalities: &[Equality]) -> Result<(), String>
Refine with multiple equalities.
Sourcepub fn backtrack_step(&mut self) -> Result<(), String>
pub fn backtrack_step(&mut self) -> Result<(), String>
Backtrack one step.
Sourcepub fn backtrack(&mut self, level: DecisionLevel) -> Result<(), String>
pub fn backtrack(&mut self, level: DecisionLevel) -> Result<(), String>
Backtrack to decision level.
Sourcepub fn push_decision_level(&mut self)
pub fn push_decision_level(&mut self)
Push decision level.
Sourcepub fn clear_history(&mut self)
pub fn clear_history(&mut self)
Clear history.
Auto Trait Implementations§
impl Freeze for PartitionRefinement
impl RefUnwindSafe for PartitionRefinement
impl Send for PartitionRefinement
impl Sync for PartitionRefinement
impl Unpin for PartitionRefinement
impl UnwindSafe for PartitionRefinement
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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