Class MeanDistanceCulpabilityMeasure
java.lang.Object
org.tweetyproject.logics.pcl.analysis.MeanDistanceCulpabilityMeasure
- All Implemented Interfaces:
CulpabilityMeasure<ProbabilisticConditional,
,PclBeliefSet> SignedCulpabilityMeasure
This class implements the mean distance culpability measure, see [PhD thesis, Thimm].
- Author:
- Matthias Thimm TODO: this does not work correctly yet, fix it.
-
Constructor Summary
ConstructorDescriptionMeanDistanceCulpabilityMeasure
(OptimizationRootFinder rootFinder, boolean normalized) Creates a new measure. -
Method Summary
Modifier and TypeMethodDescriptionculpabilityMeasure
(PclBeliefSet beliefSet, ProbabilisticConditional conditional) 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).sign
(PclBeliefSet beliefSet, ProbabilisticConditional conditional) Determines the sign of the culpability of the given conditional in the given belief set, i.e.
-
Constructor Details
-
MeanDistanceCulpabilityMeasure
Creates a new measure.- Parameters:
rootFinder
- a root findernormalized
- whether this measure uses the normalized mindev measure.
-
-
Method Details
-
culpabilityMeasure
Description copied from interface:CulpabilityMeasure
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).- Specified by:
culpabilityMeasure
in interfaceCulpabilityMeasure<ProbabilisticConditional,
PclBeliefSet> - Specified by:
culpabilityMeasure
in interfaceSignedCulpabilityMeasure
- Parameters:
beliefSet
- a belief set.conditional
- 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).
-
sign
Description copied from interface:SignedCulpabilityMeasure
Determines the sign of the culpability of the given conditional in the given belief set, i.e. one of {-1,0,1}.- Specified by:
sign
in interfaceSignedCulpabilityMeasure
- Parameters:
beliefSet
- a belief setconditional
- a conditional- Returns:
- one of {-1,0,1}
-