Exemplo n.º 1
0
 public FOLKnowledgeBase(FOLDomain domain,
         InferenceProcedure inferenceProcedure, Unifier unifier)
 {
     this.parser = new FOLParser(new FOLDomain(domain));
     this.inferenceProcedure = inferenceProcedure;
     this.unifier = unifier;
     //
     this.substVisitor = new SubstVisitor();
     this.variableCollector = new VariableCollector();
     this._standardizeApart = new StandardizeApart(variableCollector,
             substVisitor);
     this.cnfConverter = new CNFConverter(parser);
 }
Exemplo n.º 2
0
 public void setUp()
 {
     parser = new FOLParser(DomainFactory.crusadesDomain());
     vc = new VariableCollector();
 }
Exemplo n.º 3
0
 public StandardizeApart(VariableCollector variableCollector,
         SubstVisitor substVisitor)
 {
     this.variableCollector = variableCollector;
     this.substVisitor = substVisitor;
 }
Exemplo n.º 4
0
 public StandardizeApart()
 {
     variableCollector = new VariableCollector();
     substVisitor = new SubstVisitor();
 }
Exemplo n.º 5
0
 public StandardizeApart(VariableCollector variableCollector,
                         SubstVisitor substVisitor)
 {
     this.variableCollector = variableCollector;
     this.substVisitor      = substVisitor;
 }
Exemplo n.º 6
0
 public StandardizeApart()
 {
     variableCollector = new VariableCollector();
     substVisitor      = new SubstVisitor();
 }