Class PrimeImplicantBasedInconsistencyMeasure
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula>
org.tweetyproject.logics.pl.analysis.PrimeImplicantBasedInconsistencyMeasure
- All Implemented Interfaces:
PostulateEvaluatable<PlFormula>
,InconsistencyMeasure<BeliefSet<PlFormula,
?>>
public class PrimeImplicantBasedInconsistencyMeasure
extends BeliefSetInconsistencyMeasure<PlFormula>
computes the inconsistency measure of the
- Author:
- Sebastian Franke
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
Constructor Summary
ConstructorDescriptionconstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptiongetConflicts
(PlBeliefSet beliefSet) Return the conflicts of the prime implicantsinconsistencyMeasure
(Collection<PlFormula> formulas) This method measures the inconsistency of the given set of formulas.Methods inherited from class org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
Field Details
-
primeImp
prime implicant enumerator
-
-
Constructor Details
-
PrimeImplicantBasedInconsistencyMeasure
Constructor- Parameters:
primeImp
- prime implicant inconsistency measure
-
PrimeImplicantBasedInconsistencyMeasure
public PrimeImplicantBasedInconsistencyMeasure()constructor
-
-
Method Details
-
getConflicts
Return the conflicts of the prime implicants- Parameters:
beliefSet
- the bleiefSet of which the conflicts of prime implicants are calculated- Returns:
- the conflicts of the prime implicants
-
inconsistencyMeasure
Description copied from class:BeliefSetInconsistencyMeasure
This method measures the inconsistency of the given set of formulas.- Specified by:
inconsistencyMeasure
in classBeliefSetInconsistencyMeasure<PlFormula>
- Parameters:
formulas
- a collection of formulas.- Returns:
- a Double indicating the degree of inconsistency.
-