#include <Problem.hpp>
◆ Problem()
| pddl_planner::representation::Problem::Problem |
( |
const std::string & |
name, |
|
|
const Domain & |
domain |
|
) |
| |
◆ addInitialStatus()
| void pddl_planner::representation::Problem::addInitialStatus |
( |
const Expression & |
e | ) |
|
Add an expression defining the initial status
- Parameters
-
- Exceptions
-
| std::invalid_argument | When validation fails for expression in the given context |
◆ addObject()
| void pddl_planner::representation::Problem::addObject |
( |
const TypedItem & |
type, |
|
|
bool |
overwrite = false |
|
) |
| |
Add additional constants – these will be added to the domain definition which is associated with this problem
◆ addSubGoal()
| void pddl_planner::representation::Problem::addSubGoal |
( |
const Expression & |
e | ) |
|
Add a sub goal expression to the existing top level one
◆ setGoal()
| void pddl_planner::representation::Problem::setGoal |
( |
const Expression & |
e | ) |
|
◆ toLISP()
| std::string pddl_planner::representation::Problem::toLISP |
( |
| ) |
const |
Generate the problem in a LISP representation
- Returns
- problem definition in LISP
◆ undefined()
| bool pddl_planner::representation::Problem::undefined |
( |
| ) |
const |
|
inline |
Test if problem has been fully defined, i.e. that goals and a domain are set
- Returns
- true if goals and a domain are provided, false otherwise
◆ validate()
| void pddl_planner::representation::Problem::validate |
( |
| ) |
const |
Perform simple syntax check
- Exceptions
-
| std::runtime_error | if syntax has errors |
◆ domain
| Domain pddl_planner::representation::Problem::domain |
◆ goal
| Expression pddl_planner::representation::Problem::goal |
◆ name
| std::string pddl_planner::representation::Problem::name |
◆ objects
◆ status
The documentation for this struct was generated from the following files:
- /build/rock-master-18.09-planning-pddl-planner-0.20171219/src/representation/Problem.hpp
- /build/rock-master-18.09-planning-pddl-planner-0.20171219/src/representation/Problem.cpp