Trait MaxVehicleLoadTourState

Source
pub trait MaxVehicleLoadTourState {
    // Required methods
    fn get_max_vehicle_load(&self) -> Option<&Float>;
    fn set_max_vehicle_load(&mut self, value: Float);
    fn remove_max_vehicle_load(&mut self) -> bool;
}
Expand description

Extends RouteState within a new MaxVehicleLoadTourState.

Required Methods§

Source

fn get_max_vehicle_load(&self) -> Option<&Float>

Gets MaxVehicleLoad tour state.

Source

fn set_max_vehicle_load(&mut self, value: Float)

Sets MaxVehicleLoad tour state.

Source

fn remove_max_vehicle_load(&mut self) -> bool

Removes MaxVehicleLoad tour state.

Implementors§