Trait vrp_core::construction::Quota[][src]

pub trait Quota {
    fn is_reached(&self) -> bool;
}

Specifies a computational quota for solving VRP. The main purpose is to allow to stop algorithm in reaction to external events such as user cancellation, timer, etc.

Required methods

fn is_reached(&self) -> bool[src]

Returns true when computation should be stopped.

Loading content...

Implementors

Loading content...