concepts.dm.crow.planners.regression_planning.CrowPlanningResult3#
- class CrowPlanningResult3[source]#
Bases:
CrowPlanningResult
CrowPlanningResult3(state: concepts.dm.crow.crow_domain.CrowState, csp: Optional[concepts.dsl.constraint.ConstraintSatisfactionProblem], controller_actions: Tuple[concepts.dm.crow.controller.CrowControllerApplier, …], scopes: Dict[int, Any], latest_scope: int, scope_constraints: Dict[int, List[concepts.dsl.expression.ValueOutputExpression]], scope_constraint_evaluations: Dict[int, List[bool]], dependency_trace: Tuple[ForwardRef(‘RegressionTraceStatement’), …], cost: float = 0.0)
Methods
clone
([state, csp, controller_actions, ...])clone_with_new_constraint
(scope_id, ...)clone_with_removed_constraint
(scope_id, ...)make_empty
(state)Attributes
- __init__(state, csp, controller_actions, scopes, latest_scope, scope_constraints, scope_constraint_evaluations, dependency_trace, cost=0.0)#
- Parameters:
state (CrowState)
csp (ConstraintSatisfactionProblem | None)
controller_actions (Tuple[CrowControllerApplier, ...])
latest_scope (int)
scope_constraints (Dict[int, List[ValueOutputExpression]])
dependency_trace (Tuple[RegressionTraceStatement, ...])
cost (float)
- Return type:
None
- __new__(**kwargs)#
- clone(state=UNSET, csp=UNSET, controller_actions=UNSET, scopes=UNSET, latest_scope=UNSET, scope_constraints=UNSET, scope_constraint_evaluations=UNSET, dependency_trace=UNSET)[source]#
- Return type:
- clone_with_new_constraint(scope_id, constraint, evaluation, do)[source]#
- Parameters:
scope_id (int)
constraint (ValueOutputExpression)
evaluation (bool)
do (bool)
- Return type:
- clone_with_removed_constraint(scope_id, constraint)[source]#
- Parameters:
scope_id (int)
constraint (ValueOutputExpression | NullExpression)
- Return type:
- controller_actions: Tuple[CrowControllerApplier, ...]#
- dependency_trace: Tuple[RegressionTraceStatement, ...]#
- scope_constraints: Dict[int, List[ValueOutputExpression]]#