public class IssReasoner extends java.lang.Object implements QuantitativeReasoner<SocialAbstractArgumentationFramework,Argument>, ModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<java.lang.Double>>
Modifier and Type | Field and Description |
---|---|
private SimpleProductSemantics |
semantics
The semantics used by this reasoner.
|
private double |
tolerance
The tolerance of the ISS algorithm.
|
Constructor and Description |
---|
IssReasoner(SimpleProductSemantics semantics,
double tolerance)
Creates a new reasoner.
|
Modifier and Type | Method and Description |
---|---|
private double |
dist(SocialMapping<java.lang.Double> sm1,
SocialMapping<java.lang.Double> sm2,
java.util.Collection<Argument> args)
Returns the maximum-norm distance between the two social
mappings
|
SocialMapping<java.lang.Double> |
getModel(SocialAbstractArgumentationFramework bbase)
Returns a single (dedicated) model of the given belief base.
|
java.util.Collection<SocialMapping<java.lang.Double>> |
getModels(SocialAbstractArgumentationFramework bbase)
Returns a characterizing model of the given belief base
|
java.lang.Double |
query(SocialAbstractArgumentationFramework beliefbase,
Argument formula)
Queries the given belief base for the given formula.
|
private SimpleProductSemantics semantics
private double tolerance
public IssReasoner(SimpleProductSemantics semantics, double tolerance)
the
- simple product semantics usedthe
- tolerance of the ISS algorithm.private double dist(SocialMapping<java.lang.Double> sm1, SocialMapping<java.lang.Double> sm2, java.util.Collection<Argument> args)
sm1
- some social mappingsm2
- some social mappingargs
- some argumentspublic java.lang.Double query(SocialAbstractArgumentationFramework beliefbase, Argument formula)
Reasoner
query
in interface Reasoner<java.lang.Double,SocialAbstractArgumentationFramework,Argument>
beliefbase
- a belief baseformula
- a formulapublic java.util.Collection<SocialMapping<java.lang.Double>> getModels(SocialAbstractArgumentationFramework bbase)
ModelProvider
getModels
in interface ModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<java.lang.Double>>
bbase
- some belief basepublic SocialMapping<java.lang.Double> getModel(SocialAbstractArgumentationFramework bbase)
ModelProvider
getModel
in interface ModelProvider<Argument,SocialAbstractArgumentationFramework,SocialMapping<java.lang.Double>>