Class IssReasoner
java.lang.Object
org.tweetyproject.arg.social.reasoner.IssReasoner
- All Implemented Interfaces:
ModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<Double>>
,QuantitativeReasoner<SocialAbstractArgumentationFramework,Argument>
,Reasoner<Double,SocialAbstractArgumentationFramework,Argument>
public class IssReasoner
extends Object
implements QuantitativeReasoner<SocialAbstractArgumentationFramework,Argument>, ModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<Double>>
This reasoner provides is an implementation of the "Iterative Successive Substitution Algorithm"
from [Marco Correia and Jorge Cruz and João Leite. On the Efficient Implementation of Social Abstract Argumentation. ECAI2014]
for determining a model of a social abstract argumentation framework according to the simple
product semantics.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionIssReasoner(SimpleProductSemantics semantics, double tolerance)
Creates a new reasoner. -
Method Summary
Modifier and TypeMethodDescriptionReturns a single (dedicated) model of the given belief base.Returns a characterizing model of the given belief basequery(SocialAbstractArgumentationFramework beliefbase, Argument formula)
Queries the given belief base for the given formula.
-
Constructor Details
-
IssReasoner
Creates a new reasoner.- Parameters:
semantics
- the simple product semantics usedtolerance
- the tolerance of the ISS algorithm.
-
-
Method Details
-
query
Description copied from interface:Reasoner
Queries the given belief base for the given formula.- Specified by:
query
in interfaceReasoner<Double,SocialAbstractArgumentationFramework,Argument>
- Parameters:
beliefbase
- a belief baseformula
- a formula- Returns:
- the answer to the query
-
getModels
Description copied from interface:ModelProvider
Returns a characterizing model of the given belief base- Specified by:
getModels
in interfaceModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<Double>>
- Parameters:
bbase
- some belief base- Returns:
- the (selected) models of the belief base
-
getModel
Description copied from interface:ModelProvider
Returns a single (dedicated) model of the given belief base. If the implemented method allows for more than one dedicated model, the selection may be non-deterministic.- Specified by:
getModel
in interfaceModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<Double>>
- Parameters:
bbase
- some belief base- Returns:
- a selected model of the belief base.
-