Struct travelling_salesman::Tour [] [src]

pub struct Tour {
    pub distance: f64,
    pub route: Vec<usize>,
}

Represents a tour of the travelling salesman

Fields

the total distance travelled following this tour

the ordered route for this tour