Class SimpleExtendedCompleteReasoner
java.lang.Object
org.tweetyproject.arg.extended.reasoner.AbstractExtendedExtensionReasoner
org.tweetyproject.arg.extended.reasoner.SimpleExtendedCompleteReasoner
- All Implemented Interfaces:
ModelProvider<Argument,
,ExtendedTheory, Extension<ExtendedTheory>> PostulateEvaluatable<Argument>
,QualitativeReasoner<ExtendedTheory,
,Argument> Reasoner<Boolean,
ExtendedTheory, Argument>
Simple reasoner for computing complete extensions of extended theories.
This reasoner extends the abstract reasoner and provides methods for finding
complete extensions of an
ExtendedTheory
. A complete extension is
an admissible extension that contains all arguments it defends.
The reasoner utilizes admissible extensions as a base and checks if they are complete.- Author:
- Lars Bengel
-
Constructor Summary
ConstructorDescriptionDefault constructor forSimpleExtendedCompleteReasoner
. -
Method Summary
Modifier and TypeMethodDescriptiongetModel
(ExtendedTheory bbase) Returns one complete extension of the given extended theory.getModels
(ExtendedTheory bbase) Returns the collection of complete extensions of the given extended theory.Methods inherited from class org.tweetyproject.arg.extended.reasoner.AbstractExtendedExtensionReasoner
getSimpleReasonerForSemantics, isInstalled, query, query
-
Constructor Details
-
SimpleExtendedCompleteReasoner
public SimpleExtendedCompleteReasoner()Default constructor forSimpleExtendedCompleteReasoner
. This constructor initializes the reasoner without any specific parameters.
-
-
Method Details
-
getModels
Returns the collection of complete extensions of the given extended theory. This method retrieves all admissible extensions using theSimpleExtendedAdmissibleReasoner
, and then filters them to include only those that are complete.- Parameters:
bbase
- the extended theory for which complete extensions are to be computed- Returns:
- a collection of complete extensions
-
getModel
Returns one complete extension of the given extended theory. This method retrieves all complete extensions of the theory and returns the first one.- Parameters:
bbase
- the extended theory for which a complete extension is to be returned- Returns:
- a complete extension (first one found)
-