| Constructor and Description |
|---|
ProvaGoalImpl(java.util.List<ProvaVariable> variables,
ProvaLiteral goal) |
ProvaGoalImpl(ProvaRule query) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnswer(ProvaList terms) |
void |
addOuterAnswer(ProvaList terms) |
ProvaLiteral |
getGoal() |
java.util.Iterator<ProvaRule> |
getIterator() |
ProvaRule |
getLastMatch() |
ProvaPredicate |
getPredicate() |
ProvaRule |
getQuery() |
java.util.List<ProvaVariable> |
getVariables() |
boolean |
hasNext() |
boolean |
isCut() |
boolean |
isSingleClause() |
java.lang.Object |
lookupMetadata(java.lang.String reference,
java.util.List<ProvaVariable> variables) |
ProvaRule |
next() |
ProvaUnification |
nextUnification(ProvaKnowledgeBase kb) |
void |
removeTarget() |
void |
setCut(boolean cut) |
void |
setGoal(ProvaLiteral goal) |
void |
setIterator(java.util.Iterator<ProvaRule> iterator) |
void |
setLastMatch(ProvaRule lastMatch) |
void |
update() |
void |
updateGround() |
void |
updateMetadataGoal() |
public ProvaGoalImpl(ProvaRule query)
public ProvaGoalImpl(java.util.List<ProvaVariable> variables, ProvaLiteral goal)
public void updateMetadataGoal()
updateMetadataGoal in interface ProvaGoalpublic ProvaUnification nextUnification(ProvaKnowledgeBase kb)
nextUnification in interface ProvaGoalpublic ProvaLiteral getGoal()
public ProvaPredicate getPredicate()
public void setIterator(java.util.Iterator<ProvaRule> iterator)
public java.util.Iterator<ProvaRule> getIterator()
getIterator in interface ProvaGoalpublic java.util.List<ProvaVariable> getVariables()
public void setGoal(ProvaLiteral goal)
public void addOuterAnswer(ProvaList terms)
addOuterAnswer in interface ProvaGoalpublic boolean isSingleClause()
isSingleClause in interface ProvaGoalpublic void removeTarget()
removeTarget in interface ProvaGoalpublic java.lang.Object lookupMetadata(java.lang.String reference,
java.util.List<ProvaVariable> variables)
lookupMetadata in interface ProvaGoalpublic void setLastMatch(ProvaRule lastMatch)
setLastMatch in interface ProvaGoalpublic ProvaRule getLastMatch()
getLastMatch in interface ProvaGoalpublic void updateGround()
updateGround in interface ProvaGoalCopyright © 2019. All Rights Reserved.