#[non_exhaustive]pub struct QapResult {
pub perm: Vec<usize>,
pub fun: f64,
pub nit: usize,
}Expand description
The result of quadratic_assignment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.perm: Vec<usize>col_ind: node i of A is matched to node perm[i] of B.
fun: f64Σᵢⱼ A[i][j] B[perm[i]][perm[j]].
nit: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for QapResult
impl RefUnwindSafe for QapResult
impl Send for QapResult
impl Sync for QapResult
impl Unpin for QapResult
impl UnsafeUnpin for QapResult
impl UnwindSafe for QapResult
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