Struct vrp_core::solver::search::RemovalLimits
source · pub struct RemovalLimits {
pub removed_activities_range: Range<usize>,
pub affected_routes_range: Range<usize>,
}
Expand description
Specifies a limit for amount of jobs to be removed.
Fields§
§removed_activities_range: Range<usize>
Specifies maximum amount of removed jobs.
affected_routes_range: Range<usize>
Specifies maximum amount of affected routes.
Implementations§
Trait Implementations§
source§impl Clone for RemovalLimits
impl Clone for RemovalLimits
source§fn clone(&self) -> RemovalLimits
fn clone(&self) -> RemovalLimits
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for RemovalLimits
impl Send for RemovalLimits
impl Sync for RemovalLimits
impl Unpin for RemovalLimits
impl UnwindSafe for RemovalLimits
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