pub struct FrameSequence { /* private fields */ }Expand description
The sequence of frames maintained by PDR.
F₀ contains the initial-state clauses. F₁..Fₖ accumulate blocking clauses as cubes are blocked during the strengthen phase.
Implementations§
Source§impl FrameSequence
impl FrameSequence
Sourcepub fn add_blocked_clause(&mut self, level: usize, clause: Vec<Lit>)
pub fn add_blocked_clause(&mut self, level: usize, clause: Vec<Lit>)
Add a blocking clause to a specific frame level. For monotonicity, also add to all frames at lower levels (1..=level).
Sourcepub fn check_convergence(&self) -> Option<usize>
pub fn check_convergence(&self) -> Option<usize>
Check convergence: if Fᵢ = Fᵢ₊₁ for any i ≥ 1, return Some(i).
Compares frames by their sorted clause sets (order-independent).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameSequence
impl RefUnwindSafe for FrameSequence
impl Send for FrameSequence
impl Sync for FrameSequence
impl Unpin for FrameSequence
impl UnsafeUnpin for FrameSequence
impl UnwindSafe for FrameSequence
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