T
- The type of formulaspublic abstract class AbstractAspicReasoner<T extends Invertable> extends java.lang.Object implements QualitativeReasoner<AspicArgumentationTheory<T>,T>
Modifier and Type | Field and Description |
---|---|
private AbstractExtensionReasoner |
aafReasoner
Underlying reasoner for AAFs.
|
Constructor and Description |
---|
AbstractAspicReasoner(AbstractExtensionReasoner aafReasoner)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
protected abstract DungTheory |
getDungTheory(AspicArgumentationTheory<T> aat,
Formula query)
Computes the Dung theory from which the answer will be derived
|
java.lang.Boolean |
query(AspicArgumentationTheory<T> aat,
T query)
Queries the given belief base for the given formula.
|
java.lang.Boolean |
query(AspicArgumentationTheory<T> aat,
T query,
int inferenceType)
Queries the given AspicArgumentationTheory for the given formula using the given
inference type.
|
private AbstractExtensionReasoner aafReasoner
public AbstractAspicReasoner(AbstractExtensionReasoner aafReasoner)
aafReasoner
- Underlying reasoner for AAFs.protected abstract DungTheory getDungTheory(AspicArgumentationTheory<T> aat, Formula query)
aat
- some Aspic theoryquery
- some querypublic java.lang.Boolean query(AspicArgumentationTheory<T> aat, T query)
Reasoner
query
in interface QualitativeReasoner<AspicArgumentationTheory<T extends Invertable>,T extends Invertable>
query
in interface Reasoner<java.lang.Boolean,AspicArgumentationTheory<T extends Invertable>,T extends Invertable>
aat
- a belief basequery
- a formulapublic java.lang.Boolean query(AspicArgumentationTheory<T> aat, T query, int inferenceType)
aat
- an AspicArgumentationTheoryquery
- a formulainferenceType
- either Semantics.SCEPTICAL_INFERENCE or Semantics.CREDULOUS_INFERENCE