pub struct VtreeBuild {
pub root: Arc<Vtree>,
pub components: Option<Vec<ComponentVtree>>,
}Expand description
What a build returns: the vtree over every variable of the formula, and the component trees when the build split the formula.
Fields§
§root: Arc<Vtree>The vtree over the formula’s variables 1..=num_vars.
components: Option<Vec<ComponentVtree>>One tree per independent component, when the spec reads the formula’s
structure and the formula has two or more components; None when the
build did not split.
ComponentPlan::from_components
turns it into the plan compile_cnf
takes.
Trait Implementations§
Source§impl Clone for VtreeBuild
impl Clone for VtreeBuild
Source§fn clone(&self) -> VtreeBuild
fn clone(&self) -> VtreeBuild
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 moreAuto Trait Implementations§
impl Freeze for VtreeBuild
impl RefUnwindSafe for VtreeBuild
impl Send for VtreeBuild
impl Sync for VtreeBuild
impl Unpin for VtreeBuild
impl UnwindSafe for VtreeBuild
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