public class SimpleDefaultReasoner extends Object implements net.sf.tweety.commons.QualitativeReasoner<DefaultTheory,net.sf.tweety.logics.fol.syntax.FolFormula>, net.sf.tweety.commons.ModelProvider<net.sf.tweety.logics.fol.syntax.FolFormula,DefaultTheory,Extension>
| Constructor and Description |
|---|
SimpleDefaultReasoner() |
| Modifier and Type | Method and Description |
|---|---|
Extension |
getModel(DefaultTheory bbase) |
Collection<Extension> |
getModels(DefaultTheory bbase) |
Boolean |
query(DefaultTheory theory,
net.sf.tweety.logics.fol.syntax.FolFormula query) |
Boolean |
query(DefaultTheory theory,
net.sf.tweety.logics.fol.syntax.FolFormula query,
net.sf.tweety.commons.InferenceMode inferenceMode)
Queries the given default theory for the given query using the given
inference mode.
|
public Collection<Extension> getModels(DefaultTheory bbase)
getModels in interface net.sf.tweety.commons.ModelProvider<net.sf.tweety.logics.fol.syntax.FolFormula,DefaultTheory,Extension>public Extension getModel(DefaultTheory bbase)
getModel in interface net.sf.tweety.commons.ModelProvider<net.sf.tweety.logics.fol.syntax.FolFormula,DefaultTheory,Extension>public Boolean query(DefaultTheory theory, net.sf.tweety.logics.fol.syntax.FolFormula query)
query in interface net.sf.tweety.commons.QualitativeReasoner<DefaultTheory,net.sf.tweety.logics.fol.syntax.FolFormula>query in interface net.sf.tweety.commons.Reasoner<Boolean,DefaultTheory,net.sf.tweety.logics.fol.syntax.FolFormula>public Boolean query(DefaultTheory theory, net.sf.tweety.logics.fol.syntax.FolFormula query, net.sf.tweety.commons.InferenceMode inferenceMode)
theory - a default theoryquery - a formulaInferenceMode - either InferenceMode.SKEPTICAL or InferenceMode.CREDULOUSCopyright © 2019. All rights reserved.