concepts.pdsketch.strips.strips_grounded_expression.GSSimpleBoolAssignExpression#
- class GSSimpleBoolAssignExpression[source]#
Bases:
GSVariableAssignmentExpression
A simple assignment expression. Here, a simple assignment expression is represented by the set of add effects and the set of delete effects, both of which are a set of propositions.
Methods
compile
()Compile the assignment expression into a function.
filter_propositions
(propositions[, state])Filter the given propositions from the expression.
Iterate over all propositions that are used in this expression.
relax
()Delete relaxation of a simple assignment.
Attributes
The set of add effects.
The set of delete effects.
- __new__(**kwargs)#
- compile()[source]#
Compile the assignment expression into a function. By default, the function will return the state with the add and delete effects applied.
- filter_propositions(propositions, state=None)[source]#
Filter the given propositions from the expression. For simple assignment expressions, the filtering is done simply by removing irrelevant propositions from the add and delete effects.
- Parameters:
- Return type: