/// <summary> /// Checks whether the operator is relevant to the given target relative state. /// </summary> /// <param name="relativeState">Target relative state.</param> /// <returns>True if the operator is relevant to the given relative state, false otherwise.</returns> public bool IsRelevant(Planner.IRelativeState relativeState) { return(LiftedOperator.IsRelevant((IRelativeState)relativeState, Substitution)); }
/// <summary> /// Checks whether the operator is relevant to the given target conditions. /// </summary> /// <param name="conditions">Target conditions.</param> /// <returns>True if the operator is relevant to the given conditions, false otherwise.</returns> public bool IsRelevant(Planner.IConditions conditions) { return(LiftedOperator.IsRelevant((IConditions)conditions, Substitution)); }