|
| DisjunctiveFormula (std::vector< Conjunction > &&conjunctions) |
|
| DisjunctiveFormula (std::initializer_list< Conjunction > l) |
|
| DisjunctiveFormula (const Pddl &pddl, const Formula &formula, const std::vector< Object > ¶meters, const std::vector< Object > &arguments) |
|
| DisjunctiveFormula (const Pddl &pddl, const VAL::goal *symbol, const std::vector< Object > ¶meters, const std::vector< Object > &arguments) |
|
| DisjunctiveFormula (const Pddl &pddl, const VAL::effect_lists *symbol, const std::vector< Object > ¶meters, const std::vector< Object > &arguments) |
|
| DisjunctiveFormula (const Pddl &pddl, ConjunctiveFormula &&cnf) |
|
bool | empty () const |
|
|
static std::optional< DisjunctiveFormula > | Create (const Pddl &pddl, const Formula &formula, const std::vector< Object > ¶meters, const std::vector< Object > &arguments, bool apply_axioms=false) |
|
static std::optional< DisjunctiveFormula > | Create (const Pddl &pddl, const VAL::goal *symbol, const std::vector< Object > ¶meters, const std::vector< Object > &arguments, bool apply_axioms=false) |
|
static std::optional< DisjunctiveFormula > | Create (const Pddl &pddl, const VAL::effect_lists *symbol, const std::vector< Object > ¶meters, const std::vector< Object > &arguments, bool apply_axioms=false) |
|
static std::optional< DisjunctiveFormula > | Create (const Pddl &pddl, ConjunctiveFormula &&cnf, bool apply_axioms=false) |
|
static std::optional< std::pair< DisjunctiveFormula, DisjunctiveFormula > > | NormalizeConditions (const Pddl &pddl, const std::string &action_call, bool apply_axioms=false) |
|
static std::optional< DisjunctiveFormula > | NormalizePreconditions (const Pddl &pddl, const std::string &action_call, bool apply_axioms=false) |
|
static std::optional< DisjunctiveFormula > | NormalizePostconditions (const Pddl &pddl, const std::string &action_call, bool apply_axioms=false) |
|
static std::optional< DisjunctiveFormula > | NormalizeGoal (const Pddl &pddl, bool apply_axioms=false) |
|
◆ NormalizeConditions()
std::optional< std::pair< DisjunctiveFormula, DisjunctiveFormula > > symbolic::DisjunctiveFormula::NormalizeConditions |
( |
const Pddl & |
pddl, |
|
|
const std::string & |
action_call, |
|
|
bool |
apply_axioms = false |
|
) |
| |
|
static |
Normalize the pre/post conditions of the given action.
If either of the conditions are invalid, this function will return an empty optional.
- Parameters
-
pddl | Pddl object. |
action_call | Action call string. |
apply_axioms | Whether to apply the axioms to the pre/post conditions. |
- Returns
- Pair of normalized pre/post conditions.
- See also
- Python: symbolic.DisjunctiveFormula.normalize_conditions().
The documentation for this struct was generated from the following files:
- /home/runner/work/symbolic/symbolic/include/symbolic/normal_form.h
- /home/runner/work/symbolic/symbolic/src/normal_form.cc