|
pddl_planner
|
Representation of (LISP) expressions. More...
#include <Domain.hpp>
Public Member Functions | |
| Expression (const Label &label="") | |
| Expression (const Expression &other) | |
| virtual | ~Expression () |
| Expression (const Label &label, const Expression &arg0, const Expression &arg1=Expression(), const Expression &arg2=Expression(), const Expression &arg3=Expression(), const Expression &arg4=Expression(), const Expression &arg5=Expression(), const Expression &arg6=Expression(), const Expression &arg7=Expression(), const Expression &arg8=Expression(), const Expression &arg9=Expression(), const Expression &arg10=Expression()) | |
| Expression (const Label &label, const Label &arg0, const Label &arg1="", const Label &arg2="") | |
| Expression (Quantor quantor, const TypedItem &typedItem, const Expression &e) | |
| void | addParameter (const Label &e) |
| void | addParameter (const Expression &e) |
| bool | isAtomic () const |
| bool | isNull () const |
| Expression & | operator= (const Expression &other) |
| bool | operator== (const Expression &other) const |
| std::string | toLISP () const |
Static Public Member Functions | |
| static bool | isQuantor (const Label &label) |
| static Expression | fromString (const std::string &expressionString) |
Public Attributes | |
| Label | label |
| ExpressionPtrList | parameters |
| TypedItem | typedItem |
Representation of (LISP) expressions.
Expression are needed to handle addition of actions, e.g., as part of preconditions or effects
| pddl_planner::representation::Expression::Expression | ( | const Label & | label = "" | ) |
| pddl_planner::representation::Expression::Expression | ( | const Expression & | other | ) |
|
virtual |
| pddl_planner::representation::Expression::Expression | ( | const Label & | label, |
| const Expression & | arg0, | ||
| const Expression & | arg1 = Expression(), |
||
| const Expression & | arg2 = Expression(), |
||
| const Expression & | arg3 = Expression(), |
||
| const Expression & | arg4 = Expression(), |
||
| const Expression & | arg5 = Expression(), |
||
| const Expression & | arg6 = Expression(), |
||
| const Expression & | arg7 = Expression(), |
||
| const Expression & | arg8 = Expression(), |
||
| const Expression & | arg9 = Expression(), |
||
| const Expression & | arg10 = Expression() |
||
| ) |
| pddl_planner::representation::Expression::Expression | ( | const Label & | label, |
| const Label & | arg0, | ||
| const Label & | arg1 = "", |
||
| const Label & | arg2 = "" |
||
| ) |
| pddl_planner::representation::Expression::Expression | ( | Quantor | quantor, |
| const TypedItem & | typedItem, | ||
| const Expression & | e | ||
| ) |
| void pddl_planner::representation::Expression::addParameter | ( | const Label & | e | ) |
Add a parameter to this expression – this parameter is a simple label, but no expression
| void pddl_planner::representation::Expression::addParameter | ( | const Expression & | e | ) |
|
static |
Get and expression from a given string
|
inline |
|
inline |
|
static |
| Expression & pddl_planner::representation::Expression::operator= | ( | const Expression & | other | ) |
Assign operator
| bool pddl_planner::representation::Expression::operator== | ( | const Expression & | other | ) | const |
Equals operator
| std::string pddl_planner::representation::Expression::toLISP | ( | ) | const |
Convert expression to LISP representation
| Label pddl_planner::representation::Expression::label |
| ExpressionPtrList pddl_planner::representation::Expression::parameters |
| TypedItem pddl_planner::representation::Expression::typedItem |
1.8.13