Class EmptyCriterion
java.lang.Object
org.tweetyproject.arg.delp.semantics.ComparisonCriterion
org.tweetyproject.arg.delp.semantics.EmptyCriterion
This class implements the empty criterion to compare two arguments.
Using this criterion no two arguments are comparable.
- Author:
- Matthias Thimm
-
Nested Class Summary
Nested classes/interfaces inherited from class org.tweetyproject.arg.delp.semantics.ComparisonCriterion
ComparisonCriterion.Factory, ComparisonCriterion.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompare
(DelpArgument argument1, DelpArgument argument2, DefeasibleLogicProgram context) This method returns the relation ofargument1
toargument2
givencontext
.
-
Constructor Details
-
EmptyCriterion
public EmptyCriterion()Default Constructor
-
-
Method Details
-
compare
public ComparisonCriterion.Result compare(DelpArgument argument1, DelpArgument argument2, DefeasibleLogicProgram context) Description copied from class:ComparisonCriterion
This method returns the relation ofargument1
toargument2
givencontext
.- Specified by:
compare
in classComparisonCriterion
- Parameters:
argument1
- a DeLP argumentargument2
- a DeLP argumentcontext
- a defeasible logic program as context- Returns:
- Result.IS_BETTER iffargument1
is better thanargument2
- Result.IS_WORSE iffargument1
is worse thanargument2
- Result.IS_EQUAL iffargument1
andargument2
are in the same equivalence class
- Result.NOT_COMPARABLE iffargument1
andargument2
are not comparable
-