Class ClauseActionFactory.ImmutableConsequentRule
java.lang.Object
org.projog.core.predicate.udp.ClauseActionFactory.ImmutableConsequentRule
- All Implemented Interfaces:
ClauseAction
- Enclosing class:
ClauseActionFactory
static final class ClauseActionFactory.ImmutableConsequentRule
extends Object
implements ClauseAction
Clause where the consequent args are all immutable and the antecedent is not true.
e.g. "p(a,b,c) :- test." or "p(a,b,c) :- test(_)."
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateImmutableConsequentRule(ClauseModel model, PredicateFactory pf) -
Method Summary
-
Field Details
-
model
-
pf
-
-
Constructor Details
-
ImmutableConsequentRule
-
-
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
-