public class DefaultMeReasoner extends Reasoner
Modifier and Type | Field and Description |
---|---|
private ProbabilityDistribution<PossibleWorld> |
meDistribution
The ME-distribution this reasoner bases on.
|
private Signature |
signature
The signature of the reasoner.
|
Constructor and Description |
---|
DefaultMeReasoner(BeliefBase beliefBase)
Creates a new default ME-reasoner for the given knowledge base.
|
DefaultMeReasoner(BeliefBase beliefBase,
Signature signature)
Creates a new default ME-reasoner for the given knowledge base.
|
Modifier and Type | Method and Description |
---|---|
private ProbabilityDistribution<PossibleWorld> |
computeMeDistribution()
Computes the ME-distribution this reasoner bases on.
|
ProbabilityDistribution<PossibleWorld> |
getMeDistribution()
Returns the ME-distribution this reasoner bases on.
|
Answer |
query(Formula query)
This method determines the answer of the given query
wrt.
|
getKnowledgeBase
private ProbabilityDistribution<PossibleWorld> meDistribution
private Signature signature
public DefaultMeReasoner(BeliefBase beliefBase)
beliefBase
- a pcl belief set.public DefaultMeReasoner(BeliefBase beliefBase, Signature signature)
beliefBase
- a pcl belief set.signature
- another signature (if the probability distribution should be defined
on that one (that one should subsume the signature of the belief base)public ProbabilityDistribution<PossibleWorld> getMeDistribution()
private ProbabilityDistribution<PossibleWorld> computeMeDistribution()