Class ClauseActionFactory.ZeroArgConsequentRule
java.lang.Object
org.projog.core.predicate.udp.ClauseActionFactory.ZeroArgConsequentRule
- All Implemented Interfaces:
ClauseAction
- Enclosing class:
ClauseActionFactory
Clause where the consequent has no args.
e.g. "p :- test." or "p :- test(_)."
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateZeroArgConsequentRule(ClauseModel model, PredicateFactory pf) -
Method Summary
-
Field Details
-
model
-
pf
-
-
Constructor Details
-
ZeroArgConsequentRule
-
-
Method Details
-
getPredicate
- Specified by:
getPredicatein interfaceClauseAction
-
getModel
- Specified by:
getModelin interfaceClauseAction
-
isRetryable
public boolean isRetryable()- Specified by:
isRetryablein interfaceClauseAction
-
isAlwaysCutOnBacktrack
public boolean isAlwaysCutOnBacktrack()- Specified by:
isAlwaysCutOnBacktrackin interfaceClauseAction
-