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
ConstructorsConstructorDescriptionMeanDistanceCulpabilityMeasure(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: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<ProbabilisticConditional, PclBeliefSet>- Specified by:
culpabilityMeasurein 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:SignedCulpabilityMeasureDetermines the sign of the culpability of the given conditional in the given belief set, i.e. one of {-1,0,1}.- Specified by:
signin interfaceSignedCulpabilityMeasure- Parameters:
beliefSet- a belief setconditional- a conditional- Returns:
- one of {-1,0,1}
-