Class MinimalViolation2InconsistencyMeasure
- java.lang.Object
-
- net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<ProbabilisticConditional>
-
- net.sf.tweety.logics.pcl.analysis.MinimalViolation2InconsistencyMeasure
-
- All Implemented Interfaces:
PostulateEvaluatable<ProbabilisticConditional>
,InconsistencyMeasure<BeliefSet<ProbabilisticConditional,?>>
public class MinimalViolation2InconsistencyMeasure extends BeliefSetInconsistencyMeasure<ProbabilisticConditional>
This class models the minimal violation inconsistency measure for the 2-norm.- Author:
- Nico Potyka
-
-
Field Summary
-
Fields inherited from interface net.sf.tweety.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
-
Constructor Summary
Constructors Constructor Description MinimalViolation2InconsistencyMeasure()
-
Method Summary
Modifier and Type Method Description java.lang.Double
inconsistencyMeasure(java.util.Collection<ProbabilisticConditional> formulas)
This method measures the inconsistency of the given set of formulas.java.lang.String
toString()
-
Methods inherited from class net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
-
-
-
Method Detail
-
inconsistencyMeasure
public java.lang.Double inconsistencyMeasure(java.util.Collection<ProbabilisticConditional> formulas)
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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-