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
static is_minimize_action_costs()[source]
static is_minimize_sequential_plan_length()[source]
static is_minimize_makespan()[source]
static is_minimize_expression_on_final_state()[source]
static is_maximize_expression_on_final_state()[source]
static is_oversubscription()[source]
static is_temporal_oversubscription()[source]