Class MinimalViolationInconsistencyMeasure
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<ProbabilisticConditional>
org.tweetyproject.logics.pcl.analysis.MinimalViolationInconsistencyMeasure
- All Implemented Interfaces:
PostulateEvaluatable<ProbabilisticConditional>,InconsistencyMeasure<BeliefSet<ProbabilisticConditional, ?>>
public class MinimalViolationInconsistencyMeasure
extends BeliefSetInconsistencyMeasure<ProbabilisticConditional>
This class provides a general implementation for the minimal violation inconsistency measure,
cf. [Potyka, 2014]. It accepts any real vector norm and the used solver can be configured.
- Author:
- Nico Potyka, Matthias Thimm
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE -
Constructor Summary
ConstructorsConstructorDescriptionMinimalViolationInconsistencyMeasure(RealVectorNorm norm, Solver solver) Creates a new measure the given norm -
Method Summary
Modifier and TypeMethodDescriptionThis method measures the inconsistency of the given set of formulas.Methods inherited from class org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
Constructor Details
-
MinimalViolationInconsistencyMeasure
Creates a new measure the given norm- Parameters:
norm- some norm.solver- the solver to be used
-
-
Method Details
-
inconsistencyMeasure
Description copied from class:BeliefSetInconsistencyMeasureThis method measures the inconsistency of the given set of formulas.- Specified by:
inconsistencyMeasurein classBeliefSetInconsistencyMeasure<ProbabilisticConditional>- Parameters:
formulas- a collection of formulas.- Returns:
- a Double indicating the degree of inconsistency.
-