pub struct UaSolution {
pub assigned: Solution,
pub unassigned: Vec<Path>,
pub unassigned_moves: u32,
}Expand description
A plan for a UaInstance.
Fields§
§assigned: SolutionThe paths of the assigned agents, indexed like UaInstance::assigned; its sum of
costs is the objective FOCBS minimizes.
unassigned: Vec<Path>The paths of the unassigned agents, indexed like UaInstance::unassigned, each up
to the latest arrival of an assigned agent, trimmed of trailing waits; the agent
stays at its last vertex.
unassigned_moves: u32The number of moves of the unassigned agents, the least possible for these assigned paths.
Trait Implementations§
Source§impl Clone for UaSolution
impl Clone for UaSolution
Source§impl Debug for UaSolution
impl Debug for UaSolution
impl Eq for UaSolution
Source§impl PartialEq for UaSolution
impl PartialEq for UaSolution
impl StructuralPartialEq for UaSolution
Auto Trait Implementations§
impl Forget for UaSolution
impl Freeze for UaSolution
impl Move for UaSolution
impl RefUnwindSafe for UaSolution
impl Send for UaSolution
impl Sync for UaSolution
impl Unpin for UaSolution
impl UnsafeUnpin for UaSolution
impl UnwindSafe for UaSolution
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