pub struct VertexSeparator;Expand description
Finds graph vertex separators using a multi-level approach.
Implementations§
Source§impl VertexSeparator
impl VertexSeparator
Sourcepub fn find_separator(
graph: &AdjacencyGraph,
subgraph: &[usize],
) -> SeparatorResult
pub fn find_separator( graph: &AdjacencyGraph, subgraph: &[usize], ) -> SeparatorResult
Find a vertex separator for the given subgraph vertices.
Uses multi-level coarsening + BFS bisection + FM refinement.
Auto Trait Implementations§
impl Freeze for VertexSeparator
impl RefUnwindSafe for VertexSeparator
impl Send for VertexSeparator
impl Sync for VertexSeparator
impl Unpin for VertexSeparator
impl UnsafeUnpin for VertexSeparator
impl UnwindSafe for VertexSeparator
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