public class GeneralizedMeReasoner
extends net.sf.tweety.commons.Reasoner
| Modifier and Type | Field and Description |
|---|---|
static int |
EUCLIDEAN |
static int |
MANHATTAN |
static int |
MAXIMUM |
| Constructor and Description |
|---|
GeneralizedMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
int p)
Creates a new generalized ME-reasoner for the given knowledge base.
|
GeneralizedMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
net.sf.tweety.commons.Signature signature,
int p)
Creates a new generalized ME-reasoner for the given knowledge base.
|
| Modifier and Type | Method and Description |
|---|---|
ProbabilityDistribution<net.sf.tweety.logics.pl.semantics.PossibleWorld> |
getMeDistribution()
Returns the ME-distribution this reasoner bases on.
|
net.sf.tweety.commons.Answer |
query(net.sf.tweety.commons.Formula query) |
public static final int MANHATTAN
public static final int EUCLIDEAN
public static final int MAXIMUM
public GeneralizedMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
int p)
beliefBase - a pcl belief set.p - determines p-norm for computing minimal violation.solver - the solver usedpublic GeneralizedMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
net.sf.tweety.commons.Signature signature,
int p)
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)norm - the norm used for computing minimal violation.solver - the solver usedpublic ProbabilityDistribution<net.sf.tweety.logics.pl.semantics.PossibleWorld> getMeDistribution()
public net.sf.tweety.commons.Answer query(net.sf.tweety.commons.Formula query)
query in class net.sf.tweety.commons.ReasonerCopyright © 2018. All rights reserved.