[−][src]Struct vrp_core::solver::RefinementContext
A type which encapsulates information needed to perform solution refinement process.
Fields
problem: Arc<Problem>
Original problem definition.
population: Box<dyn Population + Sync + Send>
A population which tracks best discovered solutions.
state: HashMap<String, Box<dyn Any + Sync + Send>>
A collection of data associated with refinement process.
quota: Option<Arc<dyn Quota + Send + Sync>>
A quota for refinement process.
statistics: Statistics
A refinement statistics.
Implementations
impl RefinementContext
[src]
pub fn new(
problem: Arc<Problem>,
population: Box<dyn Population + Sync + Send>,
quota: Option<Arc<dyn Quota + Send + Sync>>
) -> Self
[src]
problem: Arc<Problem>,
population: Box<dyn Population + Sync + Send>,
quota: Option<Arc<dyn Quota + Send + Sync>>
) -> Self
Creates a new instance of RefinementContext
.
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,