pub struct ParetoSolution<const N: usize> {
pub paths: Vec<Path>,
pub cost: [u32; N],
}Expand description
One Pareto-optimal joint plan.
Fields§
§paths: Vec<Path>The conflict-free path of each agent, indexed by AgentId, from its start to its
goal, where it stays.
cost: [u32; N]The sum over agents of the cost vectors of their moves and waits up to their final arrival.
Trait Implementations§
Source§impl<const N: usize> Clone for ParetoSolution<N>
impl<const N: usize> Clone for ParetoSolution<N>
Source§impl<const N: usize> Debug for ParetoSolution<N>
impl<const N: usize> Debug for ParetoSolution<N>
impl<const N: usize> Eq for ParetoSolution<N>
Source§impl<const N: usize> PartialEq for ParetoSolution<N>
impl<const N: usize> PartialEq for ParetoSolution<N>
impl<const N: usize> StructuralPartialEq for ParetoSolution<N>
Auto Trait Implementations§
impl<const N: usize> Forget for ParetoSolution<N>
impl<const N: usize> Freeze for ParetoSolution<N>
impl<const N: usize> Move for ParetoSolution<N>
impl<const N: usize> RefUnwindSafe for ParetoSolution<N>
impl<const N: usize> Send for ParetoSolution<N>
impl<const N: usize> Sync for ParetoSolution<N>
impl<const N: usize> Unpin for ParetoSolution<N>
impl<const N: usize> UnsafeUnpin for ParetoSolution<N>
impl<const N: usize> UnwindSafe for ParetoSolution<N>
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