Class InSumInconsistencyMeasure<T extends DungTheory>
java.lang.Object
org.tweetyproject.arg.dung.analysis.InSumInconsistencyMeasure<T>
- Type Parameters:
T
- the type of Dung theories used, extending the DungTheory class
- All Implemented Interfaces:
InconsistencyMeasure<T>
public class InSumInconsistencyMeasure<T extends DungTheory>
extends Object
implements InconsistencyMeasure<T>
This class implements an inconsistency measure for Dung's argumentation frameworks
based on the number of attacks within the framework. The inconsistency measure quantifies
how much conflict is present within the argumentation framework, assuming that more attacks
indicate higher inconsistency. It extends the generic InconsistencyMeasure interface to
provide this functionality for any Dung theory.
- Author:
- Timothy Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninconsistencyMeasure
(T argumentationFramework) Calculates the inconsistency measure of the given Dung theory argumentation framework.
-
Constructor Details
-
InSumInconsistencyMeasure
public InSumInconsistencyMeasure()
-
-
Method Details
-
inconsistencyMeasure
Calculates the inconsistency measure of the given Dung theory argumentation framework. The measure is calculated as the number of attack relations present in the framework, under the assumption that more attacks indicate a higher level 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 based on the number of attacks
-