pub enum EdgeWeightFormat {
Function,
FullMatrix,
UpperRow,
LowerRow,
UpperDiagRow,
LowerDiagRow,
UpperCol,
LowerCol,
UpperDiagCol,
LowerDiagCol,
}
Expand description
Describes the format of the edge weights.
Variants§
Function
Weights are given by a function.
FullMatrix
Weights are given by a full matrix.
UpperRow
Upper triangular matrix (row-wise without diagonal entries).
LowerRow
Lower triangular matrix (row-wise without diagonal entries).
UpperDiagRow
Upper triangular matrix (row-wise including diagonal entries).
LowerDiagRow
Lower triangular matrix (row-wise including diagonal entries).
UpperCol
Upper triangular matrix (column-wise without diagonal entries).
LowerCol
Lower triangular matrix (column-wise without diagonal entries).
UpperDiagCol
Upper triangular matrix (column-wise including diagonal entries).
LowerDiagCol
Lower triangular matrix (column-wise including diagonal entries).
Trait Implementations§
Source§impl Clone for EdgeWeightFormat
impl Clone for EdgeWeightFormat
Source§fn clone(&self) -> EdgeWeightFormat
fn clone(&self) -> EdgeWeightFormat
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 moreSource§impl Debug for EdgeWeightFormat
impl Debug for EdgeWeightFormat
impl Copy for EdgeWeightFormat
Auto Trait Implementations§
impl Freeze for EdgeWeightFormat
impl RefUnwindSafe for EdgeWeightFormat
impl Send for EdgeWeightFormat
impl Sync for EdgeWeightFormat
impl Unpin for EdgeWeightFormat
impl UnwindSafe for EdgeWeightFormat
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