public class MonteCarloPafReasoner extends Reasoner
Modifier and Type | Field and Description |
---|---|
private int |
inferenceType
The inference type used for estimating acceptability probability
of single arguments (credulous or skeptical inference).
|
private int |
numberOfTrials
The number of runs of the Monte Carlo simulation.
|
private Semantics |
semantics
Semantics for plain AAFs.
|
Constructor and Description |
---|
MonteCarloPafReasoner(ProbabilisticArgumentationFramework aaf,
Semantics semantics,
int inferenceType,
int numberOfTrials)
Creates a new reasoner for the given framework
|
Modifier and Type | Method and Description |
---|---|
Probability |
query(Extension ext)
Estimates the probability that the given set of
arguments is an extension
|
Answer |
query(Formula query)
This method determines the answer of the given query
wrt.
|
getKnowledgeBase
private Semantics semantics
private int numberOfTrials
private int inferenceType
public MonteCarloPafReasoner(ProbabilisticArgumentationFramework aaf, Semantics semantics, int inferenceType, int numberOfTrials)
aaf
- some probabilistic argumentation frameworksemantics
- semantics used for determining extensions.numberOfTrials
- The number of runs of the Monte Carlo simulationinferenceType
- The inference type used for estimating acceptability probability
of single arguments (credulous or skeptical inference).public Answer query(Formula query)
Reasoner
public Probability query(Extension ext)
ext
- some set of arguments