concepts.dm.pdsketch.strips.atomic_strips_domain.AtomicStripsOperator#
- class AtomicStripsOperator[source]#
Bases:
object
Methods
from_operator
(operator)Create a strips operator from a PDSketch operator.
ground
(variable_dict[, state])relax
()to_applier_pddl_str
(bound_arguments)to_applier_str
(bound_arguments)Attributes
The arguments of the operator, as a tuple of
Variable
.The precondition of the operator, as a tuple of
SBoolPredicateApplicationExpression
.The add effects of the operator, as a tuple of
SBoolPredicateApplicationExpression
.The delete effects of the operator, as a tuple of
SBoolPredicateApplicationExpression
.The raw operator that this strips operator is derived from.
- __init__(arguments, preconditions, add_effects, del_effects, raw_operator)[source]#
- Parameters:
preconditions (Sequence[SBoolPredicateApplicationExpression])
add_effects (Sequence[SBoolPredicateApplicationExpression])
del_effects (Sequence[SBoolPredicateApplicationExpression])
raw_operator (Operator)
- __new__(**kwargs)#
- classmethod from_operator(operator)[source]#
Create a strips operator from a PDSketch operator.
- Parameters:
operator (Operator) – the PDSketch operator.
- Returns:
the strips operator.
- Return type:
- add_effects: Tuple[SBoolPredicateApplicationExpression, ...]#
The add effects of the operator, as a tuple of
SBoolPredicateApplicationExpression
.
- del_effects: Tuple[SBoolPredicateApplicationExpression, ...]#
The delete effects of the operator, as a tuple of
SBoolPredicateApplicationExpression
.
- preconditions: Tuple[SBoolPredicateApplicationExpression, ...]#
The precondition of the operator, as a tuple of
SBoolPredicateApplicationExpression
.