Class DistanceMinimizationInconsistencyMeasure
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<ProbabilisticConditional>
org.tweetyproject.logics.pcl.analysis.DistanceMinimizationInconsistencyMeasure
- All Implemented Interfaces:
PostulateEvaluatable<ProbabilisticConditional>
,InconsistencyMeasure<BeliefSet<ProbabilisticConditional,
?>>
- Direct Known Subclasses:
NormalizedDistanceMinimizationInconsistencyMeasure
public class DistanceMinimizationInconsistencyMeasure
extends BeliefSetInconsistencyMeasure<ProbabilisticConditional>
This class models the distance minimization inconsistency measure as proposed in [Thimm,UAI,2009], extended
by the use of different p-norms.
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
Constructor Summary
ConstructorDescriptionCreates a new measure for p=1.DistanceMinimizationInconsistencyMeasure
(OptimizationRootFinder rootFinder, int p) Creates a new measure for the given p. -
Method Summary
Modifier and TypeMethodDescriptiongetDeviation
(PclBeliefSet beliefSet, ProbabilisticConditional pc) Returns the deviation of the given conditional in the nearest consistent belief set.This method measures the inconsistency of the given set of formulas.Methods inherited from class org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
Constructor Details
-
DistanceMinimizationInconsistencyMeasure
Creates a new measure for p=1.- Parameters:
rootFinder
- the rootFinder
-
DistanceMinimizationInconsistencyMeasure
Creates a new measure for the given p.- Parameters:
rootFinder
- the rootFinderp
- some parameter for the p-norm.
-
-
Method Details
-
getDeviation
Returns the deviation of the given conditional in the nearest consistent belief set.- Parameters:
beliefSet
- some belief set.pc
- a probabilistic conditional.- Returns:
- a double.
-
inconsistencyMeasure
Description copied from class:BeliefSetInconsistencyMeasure
This method measures the inconsistency of the given set of formulas.- Specified by:
inconsistencyMeasure
in classBeliefSetInconsistencyMeasure<ProbabilisticConditional>
- Parameters:
formulas
- a collection of formulas.- Returns:
- a Double indicating the degree of inconsistency.
-