Пример #1
0
 /** @see tyRuBa.engine.factbase.FactBase#insert(tyRuBa.engine.RBComponent) */
 public synchronized void insert(RBComponent f) {
   if (f.isGroundFact()) {
     pw.print(predicateName + "(");
     RBTuple args = f.getArgs();
     printTuple(args);
     pw.println(").");
     containedFactBase.insert(f);
   }
 }
Пример #2
0
 /** @see tyRuBa.engine.factbase.FactBase#isPersistent() */
 public boolean isPersistent() {
   return containedFactBase.isPersistent();
 }
Пример #3
0
 /** @see tyRuBa.engine.factbase.FactBase#backup() */
 public void backup() {
   containedFactBase.backup();
 }
Пример #4
0
 /** @see tyRuBa.engine.factbase.FactBase#isEmpty() */
 public boolean isEmpty() {
   return containedFactBase.isEmpty();
 }
Пример #5
0
 /**
  * @see tyRuBa.engine.factbase.FactBase#compile(tyRuBa.modes.PredicateMode,
  *     tyRuBa.engine.compilation.CompilationContext)
  */
 public Compiled basicCompile(PredicateMode mode, CompilationContext context) {
   pw.flush();
   return containedFactBase.compile(mode, context);
 }