Package net.sf.tweety.arg.delp.semantics
Class EmptyCriterion
- java.lang.Object
-
- net.sf.tweety.arg.delp.semantics.ComparisonCriterion
-
- net.sf.tweety.arg.delp.semantics.EmptyCriterion
-
public final class EmptyCriterion extends ComparisonCriterion
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 net.sf.tweety.arg.delp.semantics.ComparisonCriterion
ComparisonCriterion.Factory, ComparisonCriterion.Result
-
-
Constructor Summary
Constructors Constructor Description EmptyCriterion()
-
Method Summary
Modifier and Type Method Description ComparisonCriterion.Resultcompare(DelpArgument argument1, DelpArgument argument2, DefeasibleLogicProgram context)This method returns the relation ofargument1toargument2givencontext.
-
-
-
Method Detail
-
compare
public ComparisonCriterion.Result compare(DelpArgument argument1, DelpArgument argument2, DefeasibleLogicProgram context)
Description copied from class:ComparisonCriterionThis method returns the relation ofargument1toargument2givencontext.- Specified by:
comparein classComparisonCriterion- Parameters:
argument1- a DeLP argumentargument2- a DeLP argumentcontext- a defeasible logic program as context- Returns:
- Result.IS_BETTER iffargument1is better thanargument2
- Result.IS_WORSE iffargument1is worse thanargument2
- Result.IS_EQUAL iffargument1andargument2are in the same equivalence class
- Result.NOT_COMPARABLE iffargument1andargument2are not comparable
-
-