Class WeightedComponentCountInconsistencyMeasure<T extends DungTheory>
java.lang.Object
org.tweetyproject.arg.dung.analysis.WeightedComponentCountInconsistencyMeasure<T>
- Type Parameters:
T
- the type of Dung theories used, extending DungTheory
- All Implemented Interfaces:
InconsistencyMeasure<T>
public class WeightedComponentCountInconsistencyMeasure<T extends DungTheory>
extends Object
implements InconsistencyMeasure<T>
Implements an inconsistency measure for Dung's argumentation frameworks based on the weighted count
of connected components within the framework. This measure calculates inconsistency by evaluating
the size of each component, assuming that larger isolated groups (components) in the argumentation
framework contribute more significantly to its inconsistency. The inconsistency score is the sum
of the squares of the sizes of the components, minus one for each component.
- Author:
- Timothy Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninconsistencyMeasure
(T argumentationFramework) Calculates the inconsistency measure of the given Dung theory argumentation framework based on the weighted count of its components.
-
Constructor Details
-
WeightedComponentCountInconsistencyMeasure
public WeightedComponentCountInconsistencyMeasure()
-
-
Method Details
-
inconsistencyMeasure
Calculates the inconsistency measure of the given Dung theory argumentation framework based on the weighted count of its components. Each component contributes to the inconsistency score based on the square of its size minus one. This method aggregates the scores from all components to produce a final measure of inconsistency.- Specified by:
inconsistencyMeasure
in interfaceInconsistencyMeasure<T extends DungTheory>
- Parameters:
argumentationFramework
- the Dung theory argumentation framework to measure for inconsistency- Returns:
- Double the calculated inconsistency measure, where larger numbers indicate greater inconsistency
-