A relevant condition stub is a condition stub that cannot be removed safely. If you remove it, your decision table will not be complete.
When we say a condition stub is irrelevant, it means that the decision rules won't change if we remove this condition stub from the decision table.
Vector<DecisionRule> rules = makeExample();
IrrelevantConditionStubRemover remover = new IrrelevantConditionStubRemover(
rules);
rules = remover.removeIrrelevantConditionStubs(new String[] { "C1" });
System.err.println("-----------result-----------" + rules.size());
for (int i = 0; i < rules.size(); i++)
System.err.println(rules.get(i).getInfo());