concepts.pdsketch.operator.OperatorApplicationExpression#

class OperatorApplicationExpression[source]#

Bases: object

An abstract operator grounding. For example (move ?x ?y) where ?x and ?y are variables in the context.

Methods

ground(executor)

Ground the operator statement.

pddl_str()

Attributes

name

The name of the operator.

operator

The operator that is applied.

arguments

The arguments of the operator.

__init__(operator, arguments)[source]#
Parameters:
__new__(**kwargs)#
ground(executor)[source]#

Ground the operator statement.

Parameters:

executor (PDSketchExecutor)

Return type:

OperatorApplier

pddl_str()[source]#
Return type:

str

arguments: Tuple[VariableExpression | UnnamedPlaceholder | ValueOutputExpression, ...]#

The arguments of the operator.

property name: str#

The name of the operator.

operator: Operator#

The operator that is applied.