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:
- Sebastian Franke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ClaimSet
getModel
(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, wait
Methods inherited from interface org.tweetyproject.commons.QualitativeReasoner
isInstalled
-
Constructor Details
-
AbstractClaimBasedReasoner
public AbstractClaimBasedReasoner()Default constructor
-
-
Method Details
-
getModels
get all claim sets that fulfill the given semantics- Specified by:
getModels
in 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:
getModel
in interfaceModelProvider<ClaimArgument,
ClaimBasedTheory, ClaimSet> - Parameters:
bbase
- some belief base- Returns:
- a selected model of the belief base.
-
query
Description copied from interface:Reasoner
Queries the given belief base for the given formula.- Specified by:
query
in interfaceQualitativeReasoner<ClaimBasedTheory,
ClaimArgument> - Specified by:
query
in interfaceReasoner<Boolean,
ClaimBasedTheory, ClaimArgument> - Parameters:
beliefbase
- a belief baseformula
- a formula- Returns:
- the answer to the query
-