pub struct MapfAgent {
pub agent_id: String,
pub start: Point,
pub goal: Point,
}Expand description
One MAPF agent with a static start cell and a static goal cell.
Plans must occupy start at timestep 0, reach goal, then wait in place through the
planner horizon. Identity strings are opaque keys used in conflict reports.
Fields§
§agent_id: StringStable agent identity used in plans and conflict reports.
start: PointRequired walkable start cell at timestep 0.
goal: PointRequired walkable goal; plans must reach and then stay on this cell.
Implementations§
Trait Implementations§
impl Eq for MapfAgent
impl StructuralPartialEq for MapfAgent
Auto Trait Implementations§
impl Freeze for MapfAgent
impl RefUnwindSafe for MapfAgent
impl Send for MapfAgent
impl Sync for MapfAgent
impl Unpin for MapfAgent
impl UnsafeUnpin for MapfAgent
impl UnwindSafe for MapfAgent
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