Struct vrp_core::solver::RefinementContext [−][src]
pub struct RefinementContext {
pub problem: Arc<Problem>,
pub population: Box<dyn Population + Sync + Send>,
pub state: HashMap<String, Box<dyn Any + Sync + Send>>,
pub quota: Option<Arc<dyn Quota + Send + Sync>>,
pub environment: Arc<Environment>,
pub statistics: Statistics,
}Expand description
A type which encapsulates information needed to perform solution refinement process.
Fields
problem: Arc<Problem>Expand description
Original problem definition.
population: Box<dyn Population + Sync + Send>Expand description
A population which tracks best discovered solutions.
state: HashMap<String, Box<dyn Any + Sync + Send>>Expand description
A collection of data associated with refinement process.
quota: Option<Arc<dyn Quota + Send + Sync>>Expand description
A quota for refinement process.
environment: Arc<Environment>Expand description
An environmental context.
statistics: StatisticsExpand description
A refinement statistics.
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RefinementContext
impl Send for RefinementContext
impl Sync for RefinementContext
impl Unpin for RefinementContext
impl !UnwindSafe for RefinementContext
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>,