Struct vrp_core::construction::heuristics::StateKeyRegistry
source · pub struct StateKeyRegistry { /* private fields */ }
Expand description
Provides the way to get state keys.
From performance implications, it is better to avoid using many keys: each key requires a slot in route/activity state tracking collections.
Implementations§
Trait Implementations§
source§impl Debug for StateKeyRegistry
impl Debug for StateKeyRegistry
source§impl Default for StateKeyRegistry
impl Default for StateKeyRegistry
source§fn default() -> StateKeyRegistry
fn default() -> StateKeyRegistry
Returns the “default value” for a type. Read more
source§impl From<&mut StateKeyRegistry> for CapacityKeys
impl From<&mut StateKeyRegistry> for CapacityKeys
source§fn from(state_registry: &mut StateKeyRegistry) -> Self
fn from(state_registry: &mut StateKeyRegistry) -> Self
Converts to this type from the input type.
source§impl From<&mut StateKeyRegistry> for HeuristicKeys
impl From<&mut StateKeyRegistry> for HeuristicKeys
source§fn from(state_registry: &mut StateKeyRegistry) -> Self
fn from(state_registry: &mut StateKeyRegistry) -> Self
Converts to this type from the input type.
source§impl From<&mut StateKeyRegistry> for ScheduleKeys
impl From<&mut StateKeyRegistry> for ScheduleKeys
source§fn from(state_registry: &mut StateKeyRegistry) -> Self
fn from(state_registry: &mut StateKeyRegistry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StateKeyRegistry
impl Send for StateKeyRegistry
impl Sync for StateKeyRegistry
impl Unpin for StateKeyRegistry
impl UnwindSafe for StateKeyRegistry
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