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
-
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 with the provided formula and returns a boolean result.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:QualitativeReasoner
Queries the given belief base with the provided formula and returns a boolean result. The result indicates whether the formula is entailed or satisfied by the belief base according to the qualitative reasoning method implemented by the reasoner.- Specified by:
query
in interfaceQualitativeReasoner<ClaimBasedTheory,
ClaimArgument> - Specified by:
query
in interfaceReasoner<Boolean,
ClaimBasedTheory, ClaimArgument> - Parameters:
beliefbase
- The belief base to be queried.formula
- The formula for which the query is made.- Returns:
- `TRUE` if the formula is entailed or satisfied by the belief base, `FALSE` otherwise.
-