java.lang.Object
org.tweetyproject.logics.commons.analysis.ShapleyCulpabilityMeasure<S,T>
- Type Parameters:
S- the type of formulasT- the type of belief sets
- All Implemented Interfaces:
CulpabilityMeasure<S,T>
public class ShapleyCulpabilityMeasure<S extends Formula,T extends BeliefSet<S,?>>
extends Object
implements CulpabilityMeasure<S,T>
This class implements the Shapley culpability measure.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorsConstructorDescriptionShapleyCulpabilityMeasure(BeliefSetInconsistencyMeasure<S> inconsistencyMeasure) Creates a new Shapley culpability measure that bases on the given inconsistency measure. -
Method Summary
Modifier and TypeMethodDescriptionculpabilityMeasure(T beliefSet, S formula) Returns the degree of responsibility of the given formula to cause inconsistency in the given belief set (NOTE: the formula should be in the given belief set).
-
Constructor Details
-
ShapleyCulpabilityMeasure
Creates a new Shapley culpability measure that bases on the given inconsistency measure.- Parameters:
inconsistencyMeasure- an inconsistency measure.
-
-
Method Details
-
culpabilityMeasure
Description copied from interface:CulpabilityMeasureReturns the degree of responsibility of the given formula to cause inconsistency in the given belief set (NOTE: the formula should be in the given belief set).- Specified by:
culpabilityMeasurein interfaceCulpabilityMeasure<S extends Formula,T extends BeliefSet<S, ?>> - Parameters:
beliefSet- a belief set.formula- a formula- Returns:
- a Double indicating the degree of inconsistency (NOTE: if the given formula does not appear in the given belief set the degree is defined to be zero).
-