concepts.dm.crow.planners.regression_planning_impl.crow_regression_planner_astar_v2.RegressionStatement2#
- class RegressionStatement2[source]#
Bases:
NamedTuple
A statement in the right stack of the planning state.
Methods
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
The state where this statement was serialized to the right stack.
The scope id of the statement.
The statement.
- __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, statement, scope_id, expanded_state=None)#
Create new instance of RegressionStatement2(statement, scope_id, expanded_state)
- Parameters:
statement (CrowBehaviorOrderingSuite | CrowBindExpression | CrowAssertExpression | CrowControllerApplicationExpression | CrowBehaviorEffectApplication | CrowAchieveExpression | CrowBehaviorApplicationExpression)
scope_id (int)
expanded_state (CrowPlanningState2 | None)
- 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.
- expanded_state: CrowPlanningState2 | None#
The state where this statement was serialized to the right stack.