Class AbstractPafReasoner
java.lang.Object
org.tweetyproject.arg.prob.reasoner.AbstractPafReasoner
- All Implemented Interfaces:
QuantitativeReasoner<ProbabilisticArgumentationFramework,
,Argument> Reasoner<Double,
ProbabilisticArgumentationFramework, Argument>
- Direct Known Subclasses:
MonteCarloPafReasoner
,SimplePafReasoner
public abstract class AbstractPafReasoner
extends Object
implements QuantitativeReasoner<ProbabilisticArgumentationFramework,Argument>
Abstract anecestor for PAF reasoner.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Double
Estimates the probability that the given set of arguments is an extensionquery
(ProbabilisticArgumentationFramework beliefbase, Argument formula) Queries the given belief base for the given formula.abstract Double
query
(ProbabilisticArgumentationFramework beliefbase, Argument formula, InferenceMode inferenceMode) Queries the given PAF for the given argument using the given inference type.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.tweetyproject.commons.QuantitativeReasoner
isInstalled
-
Constructor Details
-
AbstractPafReasoner
Creates a new reasoner.- Parameters:
semantics
- Semantics for plain AAFs.
-
-
Method Details
-
query
-
query
public abstract Double query(ProbabilisticArgumentationFramework beliefbase, Argument formula, InferenceMode inferenceMode) Queries the given PAF for the given argument using the given inference type.- Parameters:
beliefbase
- an PAFformula
- a single argumentinferenceMode
- either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUS- Returns:
- probability of the argument
-
query
Estimates the probability that the given set of arguments is an extension- Parameters:
paf
- a PAFext
- some set of arguments- Returns:
- the estimated probability of the given set to be an extension
-