Class ComparisonCriterion

  • Direct Known Subclasses:
    EmptyCriterion, GeneralizedSpecificity

    public abstract class ComparisonCriterion
    extends java.lang.Object
    This class is the superclass for all comparison criteria between two arguments in defeasible logic programming.
    Author:
    Matthias Thimm
    • Constructor Detail

      • ComparisonCriterion

        public ComparisonCriterion()
    • Method Detail

      • compare

        public abstract ComparisonCriterion.Result compare​(DelpArgument argument1,
                                                           DelpArgument argument2,
                                                           DefeasibleLogicProgram context)
        This method returns the relation of argument1 to argument2 given context.
        Parameters:
        argument1 - a DeLP argument
        argument2 - a DeLP argument
        context - a defeasible logic program as context
        Returns:

        - Result.IS_BETTER iff argument1 is better than argument2
        - Result.IS_WORSE iff argument1 is worse than argument2
        - Result.IS_EQUAL iff argument1 and argument2 are in the same equivalence class
        - Result.NOT_COMPARABLE iff argument1 and argument2 are not comparable