concepts.pdsketch.strips.strips_grounding.relevance_analysis_v1#

relevance_analysis_v1(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 the operators. One example is that if one of the effect of the operator is a function (instead of simply Y/N).

  • forward (bool) – whether to perform forward relevance analysis.

  • backward (bool) – whether to perform backward relevance analysis.

Returns:

the updated task, removing all irrelevant propositions and operators.

Return type:

GStripsProblem