Ejemplo n.º 1
0
 public void setUp()
 {
     resolution = new PLResolution();
     parser = new PEParser();
 }
Ejemplo n.º 2
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)");
 }