public class RpclMeReasoner
extends net.sf.tweety.commons.Reasoner
| Modifier and Type | Field and Description |
|---|---|
static int |
LIFTED_INFERENCE
Integer constant for lifted inference.
|
static int |
STANDARD_INFERENCE
Integer constant for standard inference.
|
| Constructor and Description |
|---|
RpclMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
RpclSemantics semantics,
net.sf.tweety.logics.fol.syntax.FolSignature signature)
Creates a new reasoner for the given knowledge base.
|
RpclMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
RpclSemantics semantics,
net.sf.tweety.logics.fol.syntax.FolSignature signature,
int inferenceType)
Creates a new reasoner for the given knowledge base.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInferenceType()
Returns the inference type of this reasoner, i.e.
|
net.sf.tweety.logics.pcl.semantics.ProbabilityDistribution<?> |
getMeDistribution()
Returns the ME-distribution this reasoner bases on.
|
net.sf.tweety.logics.fol.syntax.FolSignature |
getSignature()
Returns the signature of this reasoner.
|
net.sf.tweety.commons.Answer |
query(net.sf.tweety.commons.Formula query) |
public static final int STANDARD_INFERENCE
public static final int LIFTED_INFERENCE
public RpclMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
RpclSemantics semantics,
net.sf.tweety.logics.fol.syntax.FolSignature signature,
int inferenceType)
beliefBase - a knowledge base.semantics - the semantics for this reasoner.signature - the fol signature for this reasoner.inferenceType - one of RpclMeReasoner.STANDARD_INFERENCE or RpclMeReasoner.LIFTED_INFERENCEpublic RpclMeReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
RpclSemantics semantics,
net.sf.tweety.logics.fol.syntax.FolSignature signature)
beliefBase - a knowledge base.semantics - the semantics for this reasoner.signature - the fol signature for this reasoner.public int getInferenceType()
public net.sf.tweety.logics.pcl.semantics.ProbabilityDistribution<?> getMeDistribution()
throws net.sf.tweety.math.opt.ProblemInconsistentException
net.sf.tweety.math.opt.ProblemInconsistentExceptionpublic net.sf.tweety.commons.Answer query(net.sf.tweety.commons.Formula query)
query in class net.sf.tweety.commons.Reasonerpublic net.sf.tweety.logics.fol.syntax.FolSignature getSignature()
Copyright © 2018. All rights reserved.