concepts.dm.crow.behavior.CrowBehaviorCommit#

class CrowBehaviorCommit[source]#

Bases: CrowBehaviorBodyPrimitiveBase

Methods

Attributes

flags

flags_str

execution

the execution is always going to achieve the subgoal.

sketch

the sketch is always going to achieve the subgoal.

csp

the CSP is always going to achieve the subgoal.

__init__(sketch=True, csp=True, execution=False)[source]#
Parameters:
__new__(**kwargs)#
classmethod execution_only()[source]#
csp: bool#

the CSP is always going to achieve the subgoal.

Type:

Whether to commit the CSP variables

execution: bool#

the execution is always going to achieve the subgoal.

Type:

Whether to commit the execution

property flags#
property flags_str#
sketch: bool#

the sketch is always going to achieve the subgoal.

Type:

Whether to commit the sketch