Class PreferredCountInconsistencyMeasure<T extends DungTheory>
java.lang.Object
org.tweetyproject.arg.dung.analysis.PreferredCountInconsistencyMeasure<T>
- Type Parameters:
T
- the type of Dung theory
- All Implemented Interfaces:
InconsistencyMeasure<T>
public class PreferredCountInconsistencyMeasure<T extends DungTheory>
extends Object
implements InconsistencyMeasure<T>
This class represents an inconsistency measure based on the count of preferred extensions in a Dung theory.
Preferred count inconsistency measure is the count of preferred extensions of the argumentation framework minus one.
It implements the InconsistencyMeasure interface.
- Author:
- Timothy Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninconsistencyMeasure
(T argumentationFramework) Calculates the inconsistency measure of the given argumentation framework based on preferred extensions.
-
Constructor Details
-
PreferredCountInconsistencyMeasure
public PreferredCountInconsistencyMeasure()
-
-
Method Details
-
inconsistencyMeasure
Calculates the inconsistency measure of the given argumentation framework based on preferred extensions. Preferred count inconsistency measure is computed by determining the count of preferred extensions and subtracting one from it.- Specified by:
inconsistencyMeasure
in interfaceInconsistencyMeasure<T extends DungTheory>
- Parameters:
argumentationFramework
- The argumentation framework for which to calculate the inconsistency measure.- Returns:
- The preferred count inconsistency measure of the argumentation framework. Returns the count of preferred extensions minus one. If there are no preferred extensions, returns -1.0.
-