pub struct SeparatorResult {
pub separator: Vec<usize>,
pub part_a: Vec<usize>,
pub part_b: Vec<usize>,
pub balance_ratio: f64,
}Expand description
Result of a graph separator computation.
Fields§
§separator: Vec<usize>Vertices forming the separator.
part_a: Vec<usize>Vertices in partition A.
part_b: Vec<usize>Vertices in partition B.
balance_ratio: f64Balance ratio (0..1], 1.0 = perfectly balanced.
Trait Implementations§
Source§impl Clone for SeparatorResult
impl Clone for SeparatorResult
Source§fn clone(&self) -> SeparatorResult
fn clone(&self) -> SeparatorResult
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 SeparatorResult
impl RefUnwindSafe for SeparatorResult
impl Send for SeparatorResult
impl Sync for SeparatorResult
impl Unpin for SeparatorResult
impl UnsafeUnpin for SeparatorResult
impl UnwindSafe for SeparatorResult
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