Struct vrp_core::construction::clustering::vicinity::BuilderPolicy
source · pub struct BuilderPolicy {
pub ordering_global_fn: OrderingGlobalFn,
pub ordering_local_fn: OrderingLocalFn,
}
Expand description
Allows to control how clusters are built.
Fields§
§ordering_global_fn: OrderingGlobalFn
Orders visiting clusters based on their estimated size.
ordering_local_fn: OrderingLocalFn
Orders visiting jobs in a cluster based on their visit info.
Trait Implementations§
source§impl Clone for BuilderPolicy
impl Clone for BuilderPolicy
source§fn clone(&self) -> BuilderPolicy
fn clone(&self) -> BuilderPolicy
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 BuilderPolicy
impl Send for BuilderPolicy
impl Sync for BuilderPolicy
impl Unpin for BuilderPolicy
impl !UnwindSafe for BuilderPolicy
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