pub struct TaskAgent {
pub start: Vertex,
pub goals: Vec<Vertex>,
}Expand description
One agent of a TaskInstance: where it starts and the goals it may be assigned.
Fields§
§start: VertexThe vertex the agent occupies at time 0.
goals: Vec<Vertex>The vertices the agent may end up at, one of which a solution assigns to it and to no other agent. The order does not matter; an empty list makes the instance unsolvable.
Trait Implementations§
impl Eq for TaskAgent
impl StructuralPartialEq for TaskAgent
Auto Trait Implementations§
impl Forget for TaskAgent
impl Freeze for TaskAgent
impl Move for TaskAgent
impl RefUnwindSafe for TaskAgent
impl Send for TaskAgent
impl Sync for TaskAgent
impl Unpin for TaskAgent
impl UnsafeUnpin for TaskAgent
impl UnwindSafe for TaskAgent
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