Struct vrp_core::models::problem::Fleet [−][src]
pub struct Fleet {
pub drivers: Vec<Arc<Driver>>,
pub vehicles: Vec<Arc<Vehicle>>,
pub profiles: Vec<Profile>,
pub actors: Vec<Arc<Actor>>,
pub groups: HashMap<usize, HashSet<Arc<Actor>>>,
}Expand description
Represents available resources to serve jobs.
Fields
drivers: Vec<Arc<Driver>>Expand description
All fleet drivers.
vehicles: Vec<Arc<Vehicle>>Expand description
All fleet vehicles.
profiles: Vec<Profile>Expand description
All fleet profiles.
actors: Vec<Arc<Actor>>Expand description
All fleet actors.
groups: HashMap<usize, HashSet<Arc<Actor>>>Expand description
A grouped actors.
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Fleet
impl Send for Fleet
impl Sync for Fleet
impl Unpin for Fleet
impl !UnwindSafe for Fleet
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>,