Пример #1
0
        public void testMultipleClauseResolution()
        {
            // test (and fix) suggested by Huy Dinh. Thanks Huy!
            PLResolution  plr  = new PLResolution();
            KnowledgeBase kb   = new KnowledgeBase();
            String        fact = "((B11 <=> (P12 OR P21)) AND (NOT B11))";

            kb.tell(fact);
            plr.plResolution(kb, "(B)");
        }
Пример #2
0
 public void setUp()
 {
     resolution = new PLResolution();
     parser     = new PEParser();
 }
Пример #3
0
 public PLResolutionTest()
 {
     this.resolution = new PLResolution(false);
     parser          = new PLParser();
 }