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
Alias for field number 4
Alias for field number 2
Alias for field number 0
Alias for field number 3
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:
program (CrowBehaviorOrderingSuite | None)
latest_scope (int)
right_statements (List[ScopedCrowExpression])
depth (int)
- 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.
- program: CrowBehaviorOrderingSuite | None#
Alias for field number 0
- right_statements: List[ScopedCrowExpression]#
Alias for field number 3