Class AbstractClaimBasedReasoner
java.lang.Object
org.tweetyproject.arg.dung.reasoner.AbstractClaimBasedReasoner
- All Implemented Interfaces:
ModelProvider<ClaimArgument,,ClaimBasedTheory, ClaimSet> QualitativeReasoner<ClaimBasedTheory,,ClaimArgument> Reasoner<Boolean,ClaimBasedTheory, ClaimArgument>
- Direct Known Subclasses:
SimpleClInheritedReasoner,SimpleClNaiveReasoner,SimpleClPreferredReaonser,SimpleClSemistableReasoner,SimpleClStableReasoner,SimpleClStagedReasoner
public abstract class AbstractClaimBasedReasoner
extends Object
implements QualitativeReasoner<ClaimBasedTheory,ClaimArgument>, ModelProvider<ClaimArgument,ClaimBasedTheory,ClaimSet>
Ancestor class for all claim based reasoner.
- Author:
- Sebatsian Franke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ClaimSetgetModel(ClaimBasedTheory bbase) get one claim sets that fulfill the given semanticsgetModels(ClaimBasedTheory bbase) get all claim sets that fulfill the given semanticsquery(ClaimBasedTheory beliefbase, ClaimArgument formula) Queries the given belief base for the given formula.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tweetyproject.commons.QualitativeReasoner
isInstalled
-
Constructor Details
-
AbstractClaimBasedReasoner
public AbstractClaimBasedReasoner()
-
-
Method Details
-
getModels
get all claim sets that fulfill the given semantics- Specified by:
getModelsin interfaceModelProvider<ClaimArgument,ClaimBasedTheory, ClaimSet> - Parameters:
bbase- some belief base- Returns:
- the (selected) models of the belief base
-
getModel
get one claim sets that fulfill the given semantics- Specified by:
getModelin interfaceModelProvider<ClaimArgument,ClaimBasedTheory, ClaimSet> - Parameters:
bbase- some belief base- Returns:
- a selected model of the belief base.
-
query
Description copied from interface:ReasonerQueries the given belief base for the given formula.- Specified by:
queryin interfaceQualitativeReasoner<ClaimBasedTheory,ClaimArgument> - Specified by:
queryin interfaceReasoner<Boolean,ClaimBasedTheory, ClaimArgument> - Parameters:
beliefbase- a belief baseformula- a formula- Returns:
- the answer to the query
-