concepts.pdsketch.strips.strips_grounding.relevance_analysis_v2#
- relevance_analysis_v2(task, relaxed_relevance=False, forward=True, backward=True)[source]#
Relevance analysis for a task.
- Parameters:
task (GStripsProblem) – the StripsTask to be analyzed.
relaxed_relevance (bool) – whether to use relaxed relevance analysis. If this is set to False, we will not drop functions that are “implicitly” used by
function (the operators. One example is that if one of the effect of the operator is a)
forward (bool) – whether to run the forward pruning (forward reachability checking).
backward (bool) – whether to run the backward pruning (goal regression).
- Returns:
the updated task, removing all irrelevant propositions and operators.
- Return type: