Class SimpleExtendedAdmissibleReasoner
java.lang.Object
org.tweetyproject.arg.extended.reasoner.AbstractExtendedExtensionReasoner
org.tweetyproject.arg.extended.reasoner.SimpleExtendedAdmissibleReasoner
- All Implemented Interfaces:
ModelProvider<Argument,
,ExtendedTheory, Extension<ExtendedTheory>> PostulateEvaluatable<Argument>
,QualitativeReasoner<ExtendedTheory,
,Argument> Reasoner<Boolean,
ExtendedTheory, Argument>
Simple reasoner for computing admissible sets of extended theories.
This reasoner extends the abstract extended reasoner and provides
a method for finding admissible extensions of an
ExtendedTheory
.
The admissibility of an extension is determined by checking
whether it is conflict-free and defends all its arguments.- Author:
- Lars Bengel
-
Constructor Summary
ConstructorDescriptionDefault constructor forSimpleExtendedAdmissibleReasoner
. -
Method Summary
Modifier and TypeMethodDescriptiongetModel
(ExtendedTheory bbase) Returns one admissible extension of the given extended theory.getModels
(ExtendedTheory bbase) Returns the collection of admissible extensions of the given extended theory.Methods inherited from class org.tweetyproject.arg.extended.reasoner.AbstractExtendedExtensionReasoner
getSimpleReasonerForSemantics, isInstalled, query, query
-
Constructor Details
-
SimpleExtendedAdmissibleReasoner
public SimpleExtendedAdmissibleReasoner()Default constructor forSimpleExtendedAdmissibleReasoner
. This constructor initializes the reasoner without any specific parameters.
-
-
Method Details
-
getModels
Returns the collection of admissible extensions of the given extended theory. This method first retrieves all conflict-free extensions using theSimpleExtendedConflictFreeReasoner
, and then filters them based on whether they are admissible according to the theory.- Parameters:
bbase
- the extended theory for which admissible extensions are to be computed- Returns:
- a collection of admissible extensions
-
getModel
Returns one admissible extension of the given extended theory. This method provides a single admissible extension of the theory, but in this simple implementation, it returns an empty extension.- Parameters:
bbase
- the extended theory for which an admissible extension is to be returned- Returns:
- an admissible extension (currently an empty extension)
-