Menu

get relevant condition stubs

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.


            /**
             *@author: Yan Tang, VUB, 2009
             */

            Vector<DecisionRule> rules = makeExample();

    IrrelevantConditionStubRemover remover = new IrrelevantConditionStubRemover(
            rules);
    String[] res = remover.getRelevantConditionStubs();
    StringArray array = new StringArray(res);
    array.printArrayToConsole();
Posted by Yan Tang Demey 2012-10-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.