/** @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); } }
/** @see tyRuBa.engine.factbase.FactBase#isPersistent() */ public boolean isPersistent() { return containedFactBase.isPersistent(); }
/** @see tyRuBa.engine.factbase.FactBase#backup() */ public void backup() { containedFactBase.backup(); }
/** @see tyRuBa.engine.factbase.FactBase#isEmpty() */ public boolean isEmpty() { return containedFactBase.isEmpty(); }
/** * @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); }