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 SummaryConstructorsConstructorDescriptionMeanDistanceCulpabilityMeasure(OptimizationRootFinder rootFinder, boolean normalized)Creates a new measure.
- 
Method SummaryModifier 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- 
MeanDistanceCulpabilityMeasureCreates a new measure.- Parameters:
- rootFinder- a root finder
- normalized- whether this measure uses the normalized mindev measure.
 
 
- 
- 
Method Details- 
culpabilityMeasureDescription 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 interface- CulpabilityMeasure<ProbabilisticConditional,PclBeliefSet>
- Specified by:
- culpabilityMeasurein interface- SignedCulpabilityMeasure
- 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).
 
- 
signDescription 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 interface- SignedCulpabilityMeasure
- Parameters:
- beliefSet- a belief set
- conditional- a conditional
- Returns:
- one of {-1,0,1}
 
 
-