Class NumericalPartialOrder<T extends Formula,R extends BeliefBase>

Type Parameters:
T - Some Formular
R - Some Beliefbase
All Implemented Interfaces:
Comparator<T>, Map<T,Double>, Interpretation<R,T>

public class NumericalPartialOrder<T extends Formula,R extends BeliefBase> extends GeneralComparator<T,R> implements Map<T,Double>
This class provides an acceptability interpretation of arguments by assigning them real values. Often larger values indicate more acceptability, but some semantics use other ways of ranking the values.
Author:
Matthias Thimm, Anna Gessler
  • Field Details

    • PRECISION

      public static double PRECISION
      Precision for comparing values.
    • sortingType

      The method used for ordering the numerical values according to acceptability.
  • Constructor Details

    • NumericalPartialOrder

      public NumericalPartialOrder()
      Creates a new empty numerical argument ranking.
    • NumericalPartialOrder

      public NumericalPartialOrder(Collection<T> args, double initialvalue)
      Creates a new ranking with the given set of arguments and the given initial ranking value.
      Parameters:
      args - some set of comparable elements
      initialvalue - an initial value that will be assigned to all comparable elements
  • Method Details