public class ProvaGuardedLiteralImpl extends ProvaLiteralImpl implements ProvaLiteral
ground, line, metadata, predicate, sourceCode, terms, tlVars| Constructor and Description |
|---|
ProvaGuardedLiteralImpl(ProvaPredicate pred,
ProvaList terms,
java.util.List<ProvaLiteral> guard) |
| Modifier and Type | Method and Description |
|---|---|
ProvaObject |
cloneWithBoundVariables(java.util.List<ProvaVariable> variables,
java.util.List<java.lang.Boolean> isConstant) |
ProvaLiteral |
cloneWithBoundVariables(ProvaUnification unification,
java.util.List<ProvaVariable> variables,
java.util.List<java.lang.Boolean> isConstant) |
ProvaObject |
cloneWithVariables(java.util.List<ProvaVariable> variables) |
ProvaObject |
cloneWithVariables(long ruleId,
java.util.List<ProvaVariable> variables) |
int |
collectVariables(long ruleId,
java.util.List<ProvaVariable> variables) |
java.util.List<ProvaLiteral> |
getGuard() |
ProvaLiteral |
rebuild(ProvaUnification unification) |
ProvaLiteral |
rebuildSource(ProvaUnification unification) |
void |
substituteVariables(ProvaVariablePtr[] varsMap) |
java.lang.String |
toString() |
addClause, addClauseA, addMetadata, computeIfExpression, computeProvaIfExpression, computeSize, getAnswers, getCacheState, getGoal, getLine, getMetadata, getMetadata, getPredicate, getRecursivelyAssigned, getSourceCode, getTerms, isGround, markCompletion, setGoal, setGround, setLine, setMetadata, setSourceCode, setTerms, toString, unify, updateGroundclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddClause, addClauseA, addMetadata, getAnswers, getCacheState, getGoal, getLine, getMetadata, getMetadata, getPredicate, getSourceCode, getTerms, markCompletion, setGoal, setGround, setLine, setMetadata, setSourceCode, setTermscomputeIfExpression, computeProvaIfExpression, computeSize, getRecursivelyAssigned, isGround, toString, unify, updateGroundpublic ProvaGuardedLiteralImpl(ProvaPredicate pred, ProvaList terms, java.util.List<ProvaLiteral> guard)
public java.util.List<ProvaLiteral> getGuard()
getGuard in interface ProvaLiteralgetGuard in class ProvaLiteralImplpublic int collectVariables(long ruleId,
java.util.List<ProvaVariable> variables)
collectVariables in interface ProvaObjectcollectVariables in class ProvaLiteralImplpublic void substituteVariables(ProvaVariablePtr[] varsMap)
substituteVariables in interface ProvaObjectsubstituteVariables in class ProvaLiteralImplpublic ProvaLiteral cloneWithBoundVariables(ProvaUnification unification, java.util.List<ProvaVariable> variables, java.util.List<java.lang.Boolean> isConstant)
cloneWithBoundVariables in interface ProvaLiteralcloneWithBoundVariables in class ProvaLiteralImplpublic ProvaObject cloneWithBoundVariables(java.util.List<ProvaVariable> variables, java.util.List<java.lang.Boolean> isConstant)
cloneWithBoundVariables in interface ProvaObjectcloneWithBoundVariables in class ProvaLiteralImplpublic ProvaLiteral rebuild(ProvaUnification unification)
rebuild in interface ProvaLiteralrebuild in class ProvaLiteralImplpublic ProvaLiteral rebuildSource(ProvaUnification unification)
rebuildSource in interface ProvaLiteralrebuildSource in class ProvaLiteralImplpublic ProvaObject cloneWithVariables(java.util.List<ProvaVariable> variables)
cloneWithVariables in interface ProvaObjectcloneWithVariables in class ProvaLiteralImplpublic ProvaObject cloneWithVariables(long ruleId, java.util.List<ProvaVariable> variables)
cloneWithVariables in interface ProvaObjectcloneWithVariables in class ProvaLiteralImplpublic java.lang.String toString()
toString in class ProvaLiteralImplCopyright © 2019. All Rights Reserved.