pub struct Component {
pub clause_indices: Vec<usize>,
pub local_to_global: Vec<VarId>,
}Expand description
An independent component of a formula: its clauses, and the formula variables it renumbers.
A component is compiled as a formula of its own over the local variables
1..=k, k being local_to_global.len(): local variable i + 1 stands
for the formula variable local_to_global[i].
Fields§
§clause_indices: Vec<usize>The component’s clauses, as indices into the formula’s clauses.
local_to_global: Vec<VarId>The formula variable of each local variable, ascending: entry i is
the one local variable i + 1 stands for.
Trait Implementations§
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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