pub struct McsResult {
pub alpha: Vec<u32>,
pub alpham1: Vec<u32>,
}Expand description
Result of maximum_cardinality_search.
Fields§
§alpha: Vec<u32>alpha[v] is the rank of vertex v in the MCS ordering, in 0..n.
Higher rank means the vertex was visited earlier.
alpham1: Vec<u32>alpham1[i] is the vertex with rank i. This is the inverse of
alpha: visiting vertices in order alpham1[n-1], alpham1[n-2], ..., alpham1[0]
gives the MCS visitation order.
Trait Implementations§
impl Eq for McsResult
impl StructuralPartialEq for McsResult
Auto Trait Implementations§
impl Freeze for McsResult
impl RefUnwindSafe for McsResult
impl Send for McsResult
impl Sync for McsResult
impl Unpin for McsResult
impl UnsafeUnpin for McsResult
impl UnwindSafe for McsResult
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