Class DiscussionBasedRankingReasoner
- java.lang.Object
-
- net.sf.tweety.arg.rankings.reasoner.AbstractRankingReasoner<LatticeArgumentRanking>
-
- net.sf.tweety.arg.rankings.reasoner.DiscussionBasedRankingReasoner
-
- All Implemented Interfaces:
net.sf.tweety.commons.ModelProvider<net.sf.tweety.arg.dung.syntax.Argument,net.sf.tweety.arg.dung.syntax.DungTheory,LatticeArgumentRanking>,net.sf.tweety.commons.postulates.PostulateEvaluatable<net.sf.tweety.arg.dung.syntax.Argument>
public class DiscussionBasedRankingReasoner extends AbstractRankingReasoner<LatticeArgumentRanking>
This class implements the "Discussion-based" argument semantics approach as proposed by [Amgoud, Ben-Naim. Ranking-based semantics for argumentation frameworks. 2013]. It compares arguments by counting the number of paths ending to to them. If some arguments are equivalent wrt. to their number of direct attackers, the size of paths is increased recursively until a difference is found.- Author:
- Anna Gessler
-
-
Constructor Summary
Constructors Constructor Description DiscussionBasedRankingReasoner()
-
Method Summary
Modifier and Type Method Description LatticeArgumentRankinggetModel(net.sf.tweety.arg.dung.syntax.DungTheory kb)Collection<LatticeArgumentRanking>getModels(net.sf.tweety.arg.dung.syntax.DungTheory bbase)intgetNumberOfPathsOfLength(net.sf.tweety.arg.dung.syntax.DungTheory base, net.sf.tweety.arg.dung.syntax.Argument a, int i)Returns the number of linear discussions of the given length in the given DungTheory for the given argument.
-
-
-
Method Detail
-
getModels
public Collection<LatticeArgumentRanking> getModels(net.sf.tweety.arg.dung.syntax.DungTheory bbase)
-
getModel
public LatticeArgumentRanking getModel(net.sf.tweety.arg.dung.syntax.DungTheory kb)
-
getNumberOfPathsOfLength
public int getNumberOfPathsOfLength(net.sf.tweety.arg.dung.syntax.DungTheory base, net.sf.tweety.arg.dung.syntax.Argument a, int i)Returns the number of linear discussions of the given length in the given DungTheory for the given argument.- Parameters:
base- the abstract argumentation frameworka- an argumenti- length of linear discussions- Returns:
- the number of linear discussions of the given length
-
-