concepts.dm.pdsketch.strips.strips_expression.SBoolConstant#
- class SBoolConstant[source]#
Bases:
SBoolOutputExpression
The representation of a boolean constant.
Methods
ground
(variable_dict[, state])Return a new expression with all variables grounded according to the given variable dictionary.
Iterate over the effect predicate names in the expression.
Iterate over the precondition predicate names in the expression.
- __init__(constant)[source]#
Initialize a boolean constant.
- Parameters:
constant (bool) – the value of the constant.
- __new__(**kwargs)#
- ground(variable_dict, state=None)[source]#
Return a new expression with all variables grounded according to the given variable dictionary.
- iter_effect_predicates()#
Iterate over the effect predicate names in the expression.