concepts.dm.crow.planners.regression_planning_impl.crow_regression_planner_dfs_v2.CrowPlanningState2#

class CrowPlanningState2[source]#

Bases: NamedTuple

CrowPlanningState2(program, state, csp, scopes, latest_scope, left_actions, right_statements, allow_promotable, depth)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

allow_promotable

Alias for field number 7

csp

Alias for field number 2

depth

Alias for field number 8

latest_scope

Alias for field number 4

left_actions

Alias for field number 5

program

Alias for field number 0

right_statements

Alias for field number 6

scopes

Alias for field number 3

state

Alias for field number 1

__add__(value, /)#

Return self+value.

__getitem__(key, /)#

Return self[key].

__init__()#
__iter__()#

Implement iter(self).

__len__()#

Return len(self).

__mul__(value, /)#

Return self*value.

static __new__(_cls, program, state, csp, scopes, latest_scope, left_actions, right_statements=None, allow_promotable=True, depth=0)#

Create new instance of CrowPlanningState2(program, state, csp, scopes, latest_scope, left_actions, right_statements, allow_promotable, depth)

Parameters:
count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

allow_promotable: bool#

Alias for field number 7

csp: ConstraintSatisfactionProblem#

Alias for field number 2

depth: int#

Alias for field number 8

latest_scope: int#

Alias for field number 4

left_actions: Tuple[CrowControllerApplier, ...]#

Alias for field number 5

program: CrowBehaviorOrderingSuite#

Alias for field number 0

right_statements: List[ScopedCrowExpression] | None#

Alias for field number 6

scopes: Dict[int, dict]#

Alias for field number 3

state: CrowState#

Alias for field number 1