Class SetOutput
java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.io.SetOutput
- All Implemented Interfaces:
KnowledgeBaseConsumer,PredicateFactory
set_output(X) - sets the current output.
set_output(X) sets the current output to the stream represented by X.
X will be a term returned as the third argument of open, or the atom
user_input, which specifies that output is to go to the computer display.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.projog.core.predicate.AbstractSingleResultPredicate
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projog.core.predicate.PredicateFactory
isAlwaysCutOnBacktrack
-
Constructor Details
-
SetOutput
public SetOutput()
-
-
Method Details
-
evaluate
- Overrides:
evaluatein classAbstractSingleResultPredicate
-