pub struct TurnResult {
pub result: MapfResult,
pub headings: Vec<Vec<Heading>>,
}Expand description
The result of a pibt_turns run.
Fields§
§result: MapfResultHow the run ended, and its counters. A solution’s paths hold each agent’s vertex at
every step of the run, turns as waits, so first_conflict
and the costs apply as for any plan.
headings: Vec<Vec<Heading>>Each agent’s heading at every step of the run, indexed like the paths: the same length as its path in a solution, empty otherwise.
Trait Implementations§
Source§impl Clone for TurnResult
impl Clone for TurnResult
Source§impl Debug for TurnResult
impl Debug for TurnResult
impl Eq for TurnResult
Source§impl PartialEq for TurnResult
impl PartialEq for TurnResult
impl StructuralPartialEq for TurnResult
Auto Trait Implementations§
impl Forget for TurnResult
impl Freeze for TurnResult
impl Move for TurnResult
impl RefUnwindSafe for TurnResult
impl Send for TurnResult
impl Sync for TurnResult
impl Unpin for TurnResult
impl UnsafeUnpin for TurnResult
impl UnwindSafe for TurnResult
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