Enum vrp_core::construction::heuristics::ResultSelection
source · pub enum ResultSelection {
Stochastic(ResultSelectorProvider),
Concrete(Box<dyn ResultSelector + Send + Sync>),
}
Expand description
Keeps either specific result selector implementation or multiple implementations.
Variants§
Stochastic(ResultSelectorProvider)
Returns a provider which returns one of built-in result selectors non-deterministically.
Concrete(Box<dyn ResultSelector + Send + Sync>)
Returns concrete instance of result selector to be used.
Auto Trait Implementations§
impl !RefUnwindSafe for ResultSelection
impl Send for ResultSelection
impl Sync for ResultSelection
impl Unpin for ResultSelection
impl !UnwindSafe for ResultSelection
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