public class PreferenceHandling
extends net.sf.tweety.beliefdynamics.CredibilityRevisionIterative<net.sf.tweety.lp.asp.syntax.Rule>
| Constructor and Description |
|---|
PreferenceHandling(net.sf.tweety.lp.asp.solver.Solver solver) |
PreferenceHandling(net.sf.tweety.lp.asp.solver.Solver solver,
int maxInt) |
| Modifier and Type | Method and Description |
|---|---|
protected static List<net.sf.tweety.commons.util.Pair<net.sf.tweety.lp.asp.syntax.Rule,net.sf.tweety.lp.asp.syntax.Rule>> |
getConflictingRules(net.sf.tweety.lp.asp.syntax.Program p1,
net.sf.tweety.lp.asp.syntax.Program p2)
Helper method: Finds all pairs of conflicting rules in program p1 and p2.
|
static void |
main(String[] args) |
net.sf.tweety.lp.asp.syntax.Program |
revise(Collection<net.sf.tweety.lp.asp.syntax.Rule> base,
Collection<net.sf.tweety.lp.asp.syntax.Rule> formulas) |
void |
setSolver(net.sf.tweety.lp.asp.solver.Solver solver) |
public PreferenceHandling(net.sf.tweety.lp.asp.solver.Solver solver)
public PreferenceHandling(net.sf.tweety.lp.asp.solver.Solver solver,
int maxInt)
public void setSolver(net.sf.tweety.lp.asp.solver.Solver solver)
public net.sf.tweety.lp.asp.syntax.Program revise(Collection<net.sf.tweety.lp.asp.syntax.Rule> base, Collection<net.sf.tweety.lp.asp.syntax.Rule> formulas)
revise in class net.sf.tweety.beliefdynamics.CredibilityRevision<net.sf.tweety.lp.asp.syntax.Rule>protected static List<net.sf.tweety.commons.util.Pair<net.sf.tweety.lp.asp.syntax.Rule,net.sf.tweety.lp.asp.syntax.Rule>> getConflictingRules(net.sf.tweety.lp.asp.syntax.Program p1, net.sf.tweety.lp.asp.syntax.Program p2)
p1 - The first programp2 - The second programpublic static void main(String[] args) throws net.sf.tweety.lp.asp.solver.SolverException, net.sf.tweety.lp.asp.parser.ParseException
net.sf.tweety.lp.asp.solver.SolverExceptionnet.sf.tweety.lp.asp.parser.ParseExceptionCopyright © 2018. All rights reserved.