Struct pddl_parser::problem::Problem
source · pub struct Problem {
pub name: String,
pub domain: String,
pub objects: Vec<Object>,
pub init: Vec<Predicate>,
pub goal: Expression,
}Expand description
A PDDL problem
A problem is a description of a particular planning problem. It consists of a domain, a set of objects, an initial state, and a goal state.
Fields§
§name: StringThe name of the problem
domain: StringThe name of the domain of the problem
objects: Vec<Object>The objects of the problem
init: Vec<Predicate>The initial state of the problem
goal: ExpressionThe goal of the problem
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Problem
impl<'de> Deserialize<'de> for Problem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Problem
impl Ord for Problem
source§impl PartialEq<Problem> for Problem
impl PartialEq<Problem> for Problem
source§impl PartialOrd<Problem> for Problem
impl PartialOrd<Problem> for Problem
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Problem
impl StructuralEq for Problem
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
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