pub enum InstanceType {
Tsp,
Atsp,
Sop,
Hcp,
Cvrp,
Tours,
Other(String),
}
Expand description
Type of the data.
Variants§
Tsp
Data for a symmetric traveling salesperson problem.
Atsp
Data for an asymmetric traveling salesperson problem.
Sop
Data for a sequential ordering problem.
Hcp
Hamiltonian cycle problem data.
Cvrp
Capacitated vehicle routing problem data.
Tours
A collection of torus.
Other(String)
Other problem data.
Trait Implementations§
Source§impl Clone for InstanceType
impl Clone for InstanceType
Source§fn clone(&self) -> InstanceType
fn clone(&self) -> InstanceType
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 InstanceType
impl RefUnwindSafe for InstanceType
impl Send for InstanceType
impl Sync for InstanceType
impl Unpin for InstanceType
impl UnwindSafe for InstanceType
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