public class CredibilityRevision
extends net.sf.tweety.beliefdynamics.CredibilityRevisionNonIterative<net.sf.tweety.lp.asp.syntax.ASPRule>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CredibilityRevision.AnswersetProcessing
interface defines a method to process the extended answer sets of the
credibility revision to generate the new ELP.
|
static class |
CredibilityRevision.DefaultBehavior
This class implements a default behavior for the processing of the answer sets
of the credibility logic programs.
|
| Constructor and Description |
|---|
CredibilityRevision()
Default Ctor: Do not forget to set the solver
|
CredibilityRevision(net.sf.tweety.lp.asp.reasoner.ASPSolver solver)
Ctor: setting the solver at construction time
|
CredibilityRevision(net.sf.tweety.lp.asp.reasoner.ASPSolver solver,
int maxInt) |
| Modifier and Type | Method and Description |
|---|---|
Collection<net.sf.tweety.lp.asp.semantics.AnswerSet> |
getLastAnswerset() |
Collection<net.sf.tweety.lp.asp.semantics.AnswerSet> |
getLastProjectedAnswerSet() |
static void |
main(String[] args) |
net.sf.tweety.lp.asp.syntax.Program |
revise(List<Collection<net.sf.tweety.lp.asp.syntax.ASPRule>> ol) |
void |
setAnswersetProcessing(CredibilityRevision.AnswersetProcessing processing) |
net.sf.tweety.lp.asp.syntax.Program |
translate(List<net.sf.tweety.lp.asp.syntax.Program> orderedList)
Translates the given list of programs to the credibility logic program.
|
public CredibilityRevision()
public CredibilityRevision(net.sf.tweety.lp.asp.reasoner.ASPSolver solver)
solver - Reference to the solver used for answer set generation.public CredibilityRevision(net.sf.tweety.lp.asp.reasoner.ASPSolver solver,
int maxInt)
public Collection<net.sf.tweety.lp.asp.semantics.AnswerSet> getLastAnswerset()
public Collection<net.sf.tweety.lp.asp.semantics.AnswerSet> getLastProjectedAnswerSet()
public void setAnswersetProcessing(CredibilityRevision.AnswersetProcessing processing)
public net.sf.tweety.lp.asp.syntax.Program revise(List<Collection<net.sf.tweety.lp.asp.syntax.ASPRule>> ol)
revise in class net.sf.tweety.beliefdynamics.CredibilityRevision<net.sf.tweety.lp.asp.syntax.ASPRule>public net.sf.tweety.lp.asp.syntax.Program translate(List<net.sf.tweety.lp.asp.syntax.Program> orderedList)
orderedList - The ordered list of extended logic programs which shall be translated.public static void main(String[] args)
Copyright © 2019. All rights reserved.