PlanQualityMetric
- class unified_planning.model.metrics.PlanQualityMetric(environment: Environment | None = None)[source]
Bases:
ABC
This is the base class of any metric for
Plan
quality.The addition of a PlanQualityMetric in a Problem restricts the set of valid Plans to only those who satisfy the semantic of the given metric, so a Plan, to be valid, not only needs to satisfy all the problem goals, but also the problem’s quality metric.
- property environment: Environment