relevance_analysis_v2(task, relaxed_relevance=False, forward=True, backward=True)[source]#

Relevance analysis for a task.

  • 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).


the updated task, removing all irrelevant propositions and operators.

Return type: