Struct vrp_core::solver::mutation::ConfigurableRecreate [−][src]
pub struct ConfigurableRecreate { /* fields omitted */ }Expand description
Provides way to reuse generic behaviour.
Implementations
impl ConfigurableRecreate[src]
impl ConfigurableRecreate[src]pub fn new(
job_selector: Box<dyn JobSelector + Send + Sync>,
route_selector: Box<dyn RouteSelector + Send + Sync>,
result_selector: Box<dyn ResultSelector + Send + Sync>,
insertion_heuristic: InsertionHeuristic
) -> Self[src]
pub fn new(
job_selector: Box<dyn JobSelector + Send + Sync>,
route_selector: Box<dyn RouteSelector + Send + Sync>,
result_selector: Box<dyn ResultSelector + Send + Sync>,
insertion_heuristic: InsertionHeuristic
) -> Self[src]Creates a new instance of ConfigurableRecreate.
Trait Implementations
impl Recreate for ConfigurableRecreate[src]
impl Recreate for ConfigurableRecreate[src]fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext[src]
fn run(
&self,
refinement_ctx: &RefinementContext,
insertion_ctx: InsertionContext
) -> InsertionContext[src]Recreates a new solution from the given.
Auto Trait Implementations
impl !RefUnwindSafe for ConfigurableRecreate
impl Send for ConfigurableRecreate
impl Sync for ConfigurableRecreate
impl Unpin for ConfigurableRecreate
impl !UnwindSafe for ConfigurableRecreate
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,