pub struct TreeDecomposition {
pub width: usize,
pub num_nodes: usize,
}Expand description
A tree decomposition with treewidth and node count.
Fields§
§width: usizeWidth of the decomposition (treewidth).
num_nodes: usizeNumber of nodes in the decomposition tree.
Implementations§
Trait Implementations§
Source§impl Clone for TreeDecomposition
impl Clone for TreeDecomposition
Source§fn clone(&self) -> TreeDecomposition
fn clone(&self) -> TreeDecomposition
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 TreeDecomposition
impl RefUnwindSafe for TreeDecomposition
impl Send for TreeDecomposition
impl Sync for TreeDecomposition
impl Unpin for TreeDecomposition
impl UnsafeUnpin for TreeDecomposition
impl UnwindSafe for TreeDecomposition
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