concepts.dsl.constraint.SimulationFluentConstraintFunction#
- class SimulationFluentConstraintFunction[source]#
Bases:
object
SimulationConstraint is a special kind of constraint that asserts the return value of the function is the grounding of a predicate after executing action
action_index
in the simulation. This is a special kind of constraint that has to be evaluated in a simulation environment. Therefore it is listed separately from the other domain-general constraints.Methods
Attributes
The index of the action that is executed in the simulation.
The predicate to be grounded.
The arguments to the predicate.
SIMULATION, EXECUTION.
- __init__(action_index, predicate, arguments, is_execution_constraint)#
- __new__(**kwargs)#