Struct vrp_core::construction::clustering::vicinity::ClusterInfo
source · pub struct ClusterInfo {
pub job: Job,
pub service_time: Duration,
pub place_idx: usize,
pub commute: Commute,
}
Expand description
Keeps track of information specific for job in the cluster.
Fields§
§job: Job
An original job.
service_time: Duration
An activity’s service time.
place_idx: usize
An used place index.
commute: Commute
Commute information.
Trait Implementations§
source§impl Clone for ClusterInfo
impl Clone for ClusterInfo
source§fn clone(&self) -> ClusterInfo
fn clone(&self) -> ClusterInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ClusterInfo
impl Send for ClusterInfo
impl Sync for ClusterInfo
impl Unpin for ClusterInfo
impl !UnwindSafe for ClusterInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more