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
Alias for field number 7
Alias for field number 2
Alias for field number 8
Alias for field number 4
Alias for field number 5
Alias for field number 0
Alias for field number 6
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, 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:
program (CrowBehaviorOrderingSuite)
state (CrowState)
latest_scope (int)
left_actions (Tuple[CrowControllerApplier, ...])
right_statements (List[ScopedCrowExpression] | None)
allow_promotable (bool)
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.
- csp: ConstraintSatisfactionProblem#
Alias for field number 2
- 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