public abstract class AbstractExtensionReasoner
extends net.sf.tweety.commons.Reasoner
| Constructor and Description |
|---|
AbstractExtensionReasoner(net.sf.tweety.commons.BeliefBase beliefBase)
Creates a new reasoner for the given knowledge base using sceptical inference.
|
AbstractExtensionReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
int inferenceType)
Creates a new reasoner for the given knowledge base.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Set<Extension> |
computeExtensions()
Computes the extensions this reasoner bases upon.
|
Set<Extension> |
getExtensions()
Returns the extensions this reasoner bases upon.
|
int |
getInferenceType()
Returns the inference type of this reasoner.
|
net.sf.tweety.logics.pl.PlBeliefSet |
getPropositionalCharacterisation()
Creates a propositional representation of the set of labelings of the underlying
Dung theory that are consistent with the given semantics.
|
protected abstract net.sf.tweety.logics.pl.PlBeliefSet |
getPropositionalCharacterisationBySemantics(Map<Argument,net.sf.tweety.logics.pl.syntax.Proposition> in,
Map<Argument,net.sf.tweety.logics.pl.syntax.Proposition> out,
Map<Argument,net.sf.tweety.logics.pl.syntax.Proposition> undec)
Returns the semantic-specific propositional characterization of the underlying Dung
theory, see
getPropositionalCharacterisation. |
static AbstractExtensionReasoner |
getReasonerForSemantics(net.sf.tweety.commons.BeliefBase beliefBase,
Semantics semantics,
int inferenceType)
Creates a reasoner for the given semantics.
|
net.sf.tweety.commons.Answer |
query(net.sf.tweety.commons.Formula query) |
public AbstractExtensionReasoner(net.sf.tweety.commons.BeliefBase beliefBase,
int inferenceType)
beliefBase - The knowledge base for this reasoner.inferenceType - The inference type for this reasoner.public AbstractExtensionReasoner(net.sf.tweety.commons.BeliefBase beliefBase)
beliefBase - The knowledge base for this reasoner.public static AbstractExtensionReasoner getReasonerForSemantics(net.sf.tweety.commons.BeliefBase beliefBase, Semantics semantics, int inferenceType)
beliefBase - some Dung theorysemantics - a semanticsinferenceType - an inference typepublic net.sf.tweety.commons.Answer query(net.sf.tweety.commons.Formula query)
query in class net.sf.tweety.commons.Reasonerpublic net.sf.tweety.logics.pl.PlBeliefSet getPropositionalCharacterisation()
protected abstract net.sf.tweety.logics.pl.PlBeliefSet getPropositionalCharacterisationBySemantics(Map<Argument,net.sf.tweety.logics.pl.syntax.Proposition> in, Map<Argument,net.sf.tweety.logics.pl.syntax.Proposition> out, Map<Argument,net.sf.tweety.logics.pl.syntax.Proposition> undec)
getPropositionalCharacterisation.in - propositional variables of in arguments.out - propositional variables of out arguments.undec - propositional variables of undec arguments.getPropositionalCharacterisation.public Set<Extension> getExtensions()
public int getInferenceType()
Copyright © 2018. All rights reserved.