pub trait TourCompactnessSolutionState {
// Required methods
fn get_tour_compactness(&self) -> Option<&Cost>;
fn set_tour_compactness(&mut self, value: Cost) -> &mut Self;
}Expand description
Extends SolutionState within a new TourCompactnessSolutionState.
Required Methods§
sourcefn get_tour_compactness(&self) -> Option<&Cost>
fn get_tour_compactness(&self) -> Option<&Cost>
Gets TourCompactness property.
sourcefn set_tour_compactness(&mut self, value: Cost) -> &mut Self
fn set_tour_compactness(&mut self, value: Cost) -> &mut Self
Sets TourCompactness property.
Object Safety§
This trait is not object safe.