public class ProbabilisticRankingReasoner extends java.lang.Object implements ModelProvider<Argument,DungTheory,NumericalArgumentRanking>
Modifier and Type | Field and Description |
---|---|
private boolean |
exactInference
Whether to use exact inference.
|
static int |
NUMBER_OF_TRIALS
Number of trials for the used monte carlo search (this is a factor
multiplied with the number of arguments of the actual framework)
|
private Probability |
p
The probability used for all arguments to instantiate
a probabilistic argumentation framework
|
private Semantics |
sem
The classical semantics used for evaluating subgraphs
|
Constructor and Description |
---|
ProbabilisticRankingReasoner(Semantics sem,
Probability p,
boolean exactInference)
Creates a new reasoner.
|
Modifier and Type | Method and Description |
---|---|
NumericalArgumentRanking |
getModel(DungTheory aaf)
Returns a single (dedicated) model of the given belief base.
|
java.util.Collection<NumericalArgumentRanking> |
getModels(DungTheory bbase)
Returns a characterizing model of the given belief base
|
public static int NUMBER_OF_TRIALS
private Probability p
private Semantics sem
private boolean exactInference
public ProbabilisticRankingReasoner(Semantics sem, Probability p, boolean exactInference)
sem
- The classical semantics used for evaluating subgraphsinferenceType
- The inference type (Semantics.CREDULOUS_INFERENCE or Semantics.SCEPTICAL_INFERENCE)p
- The probability used for all arguments to instantiate a probabilistic argumentation frameworkexactInference
- Whether to use exact inference.public java.util.Collection<NumericalArgumentRanking> getModels(DungTheory bbase)
ModelProvider
getModels
in interface ModelProvider<Argument,DungTheory,NumericalArgumentRanking>
bbase
- some belief basepublic NumericalArgumentRanking getModel(DungTheory aaf)
ModelProvider
getModel
in interface ModelProvider<Argument,DungTheory,NumericalArgumentRanking>