public class CredibilityRevision
extends net.sf.tweety.beliefdynamics.CredibilityRevisionNonIterative<net.sf.tweety.lp.asp.syntax.Rule>
| 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.solver.Solver solver)
Ctor: setting the solver at construction time
|
CredibilityRevision(net.sf.tweety.lp.asp.solver.Solver solver,
int maxInt) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.tweety.lp.asp.util.AnswerSetList |
getLastAnswerset() |
net.sf.tweety.lp.asp.util.AnswerSetList |
getLastProjectedAnswerSet() |
static void |
main(String[] args) |
net.sf.tweety.lp.asp.syntax.Program |
revise(List<Collection<net.sf.tweety.lp.asp.syntax.Rule>> 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.solver.Solver solver)
solver - Reference to the solver used for answer set generation.public CredibilityRevision(net.sf.tweety.lp.asp.solver.Solver solver,
int maxInt)
public net.sf.tweety.lp.asp.util.AnswerSetList getLastAnswerset()
public net.sf.tweety.lp.asp.util.AnswerSetList getLastProjectedAnswerSet()
public void setAnswersetProcessing(CredibilityRevision.AnswersetProcessing processing)
public net.sf.tweety.lp.asp.syntax.Program revise(List<Collection<net.sf.tweety.lp.asp.syntax.Rule>> ol)
revise in class net.sf.tweety.beliefdynamics.CredibilityRevision<net.sf.tweety.lp.asp.syntax.Rule>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 © 2018. All rights reserved.