Struct vrp_core::solver::HeuristicKeys
source · pub struct HeuristicKeys {
pub solution_weights: StateKey,
pub solution_order: StateKey,
pub tabu_list: StateKey,
}Expand description
Specifies keys used by heuristic.
Fields§
§solution_weights: StateKeyA key to store rosomaxa weights.
solution_order: StateKeyA key to store dominance order of the solution in the population.
tabu_list: StateKeyA key to store tabu list used by ruin methods.
Trait Implementations§
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.
Auto Trait Implementations§
impl RefUnwindSafe for HeuristicKeys
impl Send for HeuristicKeys
impl Sync for HeuristicKeys
impl Unpin for HeuristicKeys
impl UnwindSafe for HeuristicKeys
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