pub struct ContextDiff {
pub to_add: Vec<SubstitutionLink>,
pub to_remove: Vec<SubstitutionLink>,
pub conflicting: Vec<LinkConflict>,
}Expand description
The difference between two contexts’ world states (STRIPS goal − state).
Fields§
§to_add: Vec<SubstitutionLink>Links present in the target but missing from the current context.
to_remove: Vec<SubstitutionLink>Links present in the current context but missing from the target.
conflicting: Vec<LinkConflict>Same-from, different-to conflicts between the two contexts.
Implementations§
Source§impl ContextDiff
impl ContextDiff
Trait Implementations§
Source§impl Clone for ContextDiff
impl Clone for ContextDiff
Source§fn clone(&self) -> ContextDiff
fn clone(&self) -> ContextDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextDiff
impl Debug for ContextDiff
Source§impl Default for ContextDiff
impl Default for ContextDiff
Source§fn default() -> ContextDiff
fn default() -> ContextDiff
Returns the “default value” for a type. Read more
impl Eq for ContextDiff
Source§impl PartialEq for ContextDiff
impl PartialEq for ContextDiff
impl StructuralPartialEq for ContextDiff
Auto Trait Implementations§
impl Freeze for ContextDiff
impl RefUnwindSafe for ContextDiff
impl Send for ContextDiff
impl Sync for ContextDiff
impl Unpin for ContextDiff
impl UnsafeUnpin for ContextDiff
impl UnwindSafe for ContextDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.