Enum tspf::WeightFormat [−][src]
pub enum WeightFormat { Function, FullMatrix, UpperRow, LowerRow, UpperDiagRow, LowerDiagRow, UpperCol, LowerCol, UpperDiagCol, LowerDiagCol, Undefined, }
Expand description
Specifies how edge weights are stored in a file.
Variants
Weights are calculated by the function stated in WeightKind.
Corresponds to the value FUNCTION
in TSPLIB.
Weights are given in a full matrix.
Corresponds to the value FULL_MATRIX
in TSPLIB.
Weights are given in an upper triangular matrix, row-wise without diagonal entries.
Corresponds to the value UPPER_ROW
in TSPLIB.
Weights are given in a lower triangular matrix, row-wise without diagonal entries.
Corresponds to the value LOWE_ROW
in TSPLIB.
Weights are given in an upper triangular matrix, row-wise with diagonal entries.
Corresponds to the value UPPER_DIAG_ROW
in TSPLIB.
Weights are given in a lower triangular matrix, row-wise with diagonal entries.
Corresponds to the value LOWER_DIAG_ROW
in TSPLIB.
Weights are given in an upper triangular matrix, col-wise without diagonal entries.
Corresponds to the value UPPER_COL
in TSPLIB.
Weights are given in an lower triangular matrix, col-wise without diagonal entries.
Corresponds to the value LOWER_COL
in TSPLIB.
Weights are given in an upper triangular matrix, col-wise with diagonal entries.
Corresponds to the value UPPER_DIAG_COL
in TSPLIB.
Weights are given in a lower triangular matrix, col-wise with diagonal entries.
Corresponds to the value LOWER_DIAG_COL
in TSPLIB.
No specification how weights are stored.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WeightFormat
impl Send for WeightFormat
impl Sync for WeightFormat
impl Unpin for WeightFormat
impl UnwindSafe for WeightFormat
Blanket Implementations
Mutably borrows from an owned value. Read more