concepts.dm.crow.behavior.CrowAchieveExpression#

class CrowAchieveExpression[source]#

Bases: CrowBehaviorBodyPrimitiveBase

Methods

Attributes

flags

flags_str

op_str

goal

The goal of the achieve expression.

once

Whether the goal should be achieved only once.

__init__(goal, once=False, is_policy_achieve=False, ordered=False, serializable=False, refinement_compressible=True)[source]#

Initialize an achieve expression.

Parameters:
  • goal (ValueOutputExpression) – the goal of the achieve expression.

  • once (bool) – whether the goal should be achieved only once. By default, the goal will be held until the end of the behavior.

  • is_policy_achieve (bool)

  • ordered (bool)

  • serializable (bool)

  • refinement_compressible (bool)

__new__(**kwargs)#
property flags#
property flags_str#
goal: ValueOutputExpression#

The goal of the achieve expression.

once: bool#

Whether the goal should be achieved only once.

property op_str#