Struct travelling_salesman::Tour
source · [−]Expand description
Represents a tour of the travelling salesman
Fields
distance: f64
the total distance travelled following this tour
route: Vec<usize>
the ordered route for this tour
Auto Trait Implementations
impl RefUnwindSafe for Tour
impl Send for Tour
impl Sync for Tour
impl Unpin for Tour
impl UnwindSafe for Tour
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more