concepts.dm.crow.planners.regression_planning_impl.crow_regression_planner_v1.CrowPlanningState#

class CrowPlanningState[source]#

Bases: NamedTuple

CrowPlanningState(program, scopes, latest_scope, right_statements, depth)

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

depth

Alias for field number 4

latest_scope

Alias for field number 2

program

Alias for field number 0

right_statements

Alias for field number 3

scopes

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, scopes, latest_scope, right_statements, depth=0)#

Create new instance of CrowPlanningState(program, scopes, latest_scope, right_statements, 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.

depth: int#

Alias for field number 4

latest_scope: int#

Alias for field number 2

program: CrowActionOrderingSuite | None#

Alias for field number 0

right_statements: List[RegressionStatement]#

Alias for field number 3

scopes: Dict[int, dict]#

Alias for field number 1