private void getRelevantActionsfromPlan(Literal preCondition,
			List<Action> providers) {
		for (Action possibleAction : plan.getActions()) {
			for (Literal literalToCompare : possibleAction.getEffects()) {
				boolean equalNames = literalToCompare.getName().equals(
						preCondition.getName());
				boolean equalValues = literalToCompare.getValue() == preCondition
						.getValue();
				if (equalNames && equalValues) {
					boolean equals = true;
					int argumentsSize = preCondition.getActualArguments()
							.size();
					for (int i = 0; i < argumentsSize; i++) {
						String preConditionArg = preCondition
								.getActualArguments().get(i);
						String literalArg = literalToCompare
								.getActualArguments().get(i);
						boolean isVariableBinding = varManager
								.getVariablesUsed().contains(preConditionArg);
						boolean equalArgs = preConditionArg.equals(literalArg);
						if (!isVariableBinding && !equalArgs) {
							equals = false;
						}
					}

					if (equals == true) {
						providers.add(possibleAction);
					}
				}
			}
		}
	}