Package net.sf.tweety.arg.dung.reasoner
Class NaiveReasoner
- java.lang.Object
-
- net.sf.tweety.arg.dung.reasoner.AbstractDungReasoner
-
- net.sf.tweety.arg.dung.reasoner.AbstractExtensionReasoner
-
- net.sf.tweety.arg.dung.reasoner.NaiveReasoner
-
- All Implemented Interfaces:
net.sf.tweety.commons.ModelProvider<Argument,DungTheory,Extension>,net.sf.tweety.commons.QualitativeReasoner<DungTheory,Argument>,net.sf.tweety.commons.Reasoner<Boolean,DungTheory,Argument>
public class NaiveReasoner extends AbstractExtensionReasoner
Reasoner for naive extensions. naive extensions are maximal conflict-free sets- Author:
- Lars Bengel
-
-
Constructor Summary
Constructors Constructor Description NaiveReasoner()
-
Method Summary
Modifier and Type Method Description Collection<Extension>getMaximalConflictFreeSets(DungTheory bbase, Collection<Argument> candidates)computes all maximal conflict-free sets of bbaseExtensiongetModel(DungTheory bbase)Collection<Extension>getModels(DungTheory bbase)-
Methods inherited from class net.sf.tweety.arg.dung.reasoner.AbstractExtensionReasoner
getSimpleReasonerForSemantics, query, query
-
-
-
-
Method Detail
-
getModels
public Collection<Extension> getModels(DungTheory bbase)
- Specified by:
getModelsin interfacenet.sf.tweety.commons.ModelProvider<Argument,DungTheory,Extension>- Specified by:
getModelsin classAbstractExtensionReasoner
-
getModel
public Extension getModel(DungTheory bbase)
- Specified by:
getModelin interfacenet.sf.tweety.commons.ModelProvider<Argument,DungTheory,Extension>- Specified by:
getModelin classAbstractExtensionReasoner
-
getMaximalConflictFreeSets
public Collection<Extension> getMaximalConflictFreeSets(DungTheory bbase, 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
-
-