concepts.pdsketch.regression_rule.RegressionRuleApplicationExpression#

class RegressionRuleApplicationExpression[source]#

Bases: object

An abstract regression rule grounding. For example, in (regression-ontop ?x ?y) where ?x and ?y are variables in the context.

Methods

ground(executor)

Ground the regression rule statement.

pddl_str()

Attributes

name

The name of the regression rule.

regression_rule

The regression rule that is applied.

arguments

The arguments of the regression rule.

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

Ground the regression rule statement.

Parameters:

executor (PDSketchExecutor) –

Return type:

RegressionRuleApplier

pddl_str()[source]#
Return type:

str

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

The arguments of the regression rule.

property name: str#

The name of the regression rule.

regression_rule: RegressionRule#

The regression rule that is applied.