Class SimpleNaiveReasoner
- java.lang.Object
-
- org.tweetyproject.arg.dung.reasoner.AbstractDungReasoner
-
- org.tweetyproject.arg.dung.reasoner.AbstractExtensionReasoner
-
- org.tweetyproject.arg.dung.reasoner.SimpleNaiveReasoner
-
- All Implemented Interfaces:
ModelProvider<Argument,DungTheory,Extension>,QualitativeReasoner<DungTheory,Argument>,Reasoner<java.lang.Boolean,DungTheory,Argument>
public class SimpleNaiveReasoner extends AbstractExtensionReasoner
Reasoner for naive extensions. naive extensions are maximal conflict-free sets- Author:
- Lars Bengel
-
-
Constructor Summary
Constructors Constructor Description SimpleNaiveReasoner()
-
Method Summary
Modifier and Type Method Description java.util.Collection<Extension>getMaximalConflictFreeSets(DungTheory bbase, java.util.Collection<Argument> candidates)computes all maximal conflict-free sets of bbaseExtensiongetModel(DungTheory bbase)Returns a single (dedicated) model of the given belief base.java.util.Collection<Extension>getModels(DungTheory bbase)Returns a characterizing model of the given belief base-
Methods inherited from class org.tweetyproject.arg.dung.reasoner.AbstractExtensionReasoner
getSimpleReasonerForSemantics, query, query
-
-
-
-
Method Detail
-
getModels
public java.util.Collection<Extension> getModels(DungTheory bbase)
Description copied from interface:ModelProviderReturns a characterizing model of the given belief base- Specified by:
getModelsin interfaceModelProvider<Argument,DungTheory,Extension>- Specified by:
getModelsin classAbstractExtensionReasoner- Parameters:
bbase- some belief base- Returns:
- the (selected) models of the belief base
-
getModel
public Extension getModel(DungTheory bbase)
Description copied from interface:ModelProviderReturns a single (dedicated) model of the given belief base. If the implemented method allows for more than one dedicated model, the selection may be non-deterministic.- Specified by:
getModelin interfaceModelProvider<Argument,DungTheory,Extension>- Specified by:
getModelin classAbstractExtensionReasoner- Parameters:
bbase- some belief base- Returns:
- a selected model of the belief base.
-
getMaximalConflictFreeSets
public java.util.Collection<Extension> getMaximalConflictFreeSets(DungTheory bbase, java.util.Collection<Argument> candidates)
computes all maximal conflict-free sets of bbase- Parameters:
bbase- an argumentation frameworkcandidates- a set of arguments- Returns:
- conflict-free sets in bbase
-
-