Class SimpleCAFWeakGroundedReasoner
java.lang.Object
org.tweetyproject.arg.caf.reasoner.AbstractCAFReasoner
org.tweetyproject.arg.caf.reasoner.SimpleCAFWeakGroundedReasoner
- All Implemented Interfaces:
ModelProvider<Argument,
,ConstrainedArgumentationFramework, Extension<ConstrainedArgumentationFramework>> PostulateEvaluatable<Argument>
,QualitativeReasoner<ConstrainedArgumentationFramework,
,Argument> Reasoner<Boolean,
ConstrainedArgumentationFramework, Argument>
This reasoner for constrained Dung theories (CAF) performs inference on the weak grounded extension.
Extensions are determined by checking whether the CAF has a least element.
- Author:
- Sandra Hoffmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionComputes the Weak C-extension for the given constrained argumentation framework if it exists.Computes the Weak C-extension for the given constrained argumentation framework if it exists.Methods inherited from class org.tweetyproject.arg.caf.reasoner.AbstractCAFReasoner
getSimpleReasonerForSemantics, isInstalled, query, query
-
Constructor Details
-
SimpleCAFWeakGroundedReasoner
public SimpleCAFWeakGroundedReasoner()
-
-
Method Details
-
getModels
public Collection<Extension<ConstrainedArgumentationFramework>> getModels(ConstrainedArgumentationFramework bbase) Computes the Weak C-extension for the given constrained argumentation framework if it exists.- Parameters:
bbase
- the constrained argumentation framework- Returns:
- A collection containing the weak C-extension (if one exists).
-
getModel
public Extension<ConstrainedArgumentationFramework> getModel(ConstrainedArgumentationFramework bbase) Computes the Weak C-extension for the given constrained argumentation framework if it exists.- Parameters:
bbase
- the constrained argumentation framework- Returns:
- The weak C-extension (if one exists).
-