Trait vrp_core::solver::processing::Processing [−][src]
pub trait Processing {
fn pre_process(
&self,
problem: Arc<Problem>,
environment: Arc<Environment>
) -> Arc<Problem>;
fn post_process(&self, insertion_ctx: InsertionContext) -> InsertionContext;
}Expand description
A trait which specifies the logic to apply pre/post processing to problem/solution.
Required methods
fn pre_process(
&self,
problem: Arc<Problem>,
environment: Arc<Environment>
) -> Arc<Problem>
fn pre_process(
&self,
problem: Arc<Problem>,
environment: Arc<Environment>
) -> Arc<Problem>
Applies pre processing to given problem.
fn post_process(&self, insertion_ctx: InsertionContext) -> InsertionContext
fn post_process(&self, insertion_ctx: InsertionContext) -> InsertionContext
Applies post processing to given solution.