pub enum RoutingAlgorithm {
NearestNeighbor,
TwoOpt,
}Expand description
Routing algorithm choice.
Variants§
NearestNeighbor
Greedy nearest-neighbor traversal.
TwoOpt
Nearest-neighbor followed by 2-opt improvement.
Trait Implementations§
Source§impl Clone for RoutingAlgorithm
impl Clone for RoutingAlgorithm
Source§fn clone(&self) -> RoutingAlgorithm
fn clone(&self) -> RoutingAlgorithm
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 RoutingAlgorithm
impl Debug for RoutingAlgorithm
Source§impl Default for RoutingAlgorithm
impl Default for RoutingAlgorithm
Source§fn default() -> RoutingAlgorithm
fn default() -> RoutingAlgorithm
Returns the “default value” for a type. Read more
impl Copy for RoutingAlgorithm
Auto Trait Implementations§
impl Freeze for RoutingAlgorithm
impl RefUnwindSafe for RoutingAlgorithm
impl Send for RoutingAlgorithm
impl Sync for RoutingAlgorithm
impl Unpin for RoutingAlgorithm
impl UnsafeUnpin for RoutingAlgorithm
impl UnwindSafe for RoutingAlgorithm
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