Struct vrp_core::solver::termination::MaxTime [−][src]
pub struct MaxTime { /* fields omitted */ }Expand description
A termination criteria which is in terminated state when max time elapsed.
Implementations
Trait Implementations
impl Termination for MaxTime[src]
impl Termination for MaxTime[src]fn is_termination(&self, _: &mut RefinementContext) -> bool[src]
fn is_termination(&self, _: &mut RefinementContext) -> bool[src]Returns true if termination condition is met.
fn estimate(&self, _: &RefinementContext) -> f64[src]
fn estimate(&self, _: &RefinementContext) -> f64[src]Returns a relative estimation till termination. Value is in the [0, 1] range.
Auto Trait Implementations
impl RefUnwindSafe for MaxTime
impl Send for MaxTime
impl Sync for MaxTime
impl Unpin for MaxTime
impl UnwindSafe for MaxTime
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>,