Interface Accumulator

  • All Known Implementing Classes:
    SimpleAccumulator

    public interface Accumulator
    Classes implementing this interface represent accumulators in the sense of Definition 8.11 in

    Philippe Besnard and Anthony Hunter. A logic-based theory of deductive arguments. In Artificial Intelligence, 128(1-2):203-235, 2001.
    Author:
    Matthias Thimm
    • Method Summary

      Modifier and Type Method Description
      double accumulate​(java.util.List<java.lang.Double> pro, java.util.List<java.lang.Double> contra)
      Accumulates the pros and contras of the given list into a single double.
    • Method Detail

      • accumulate

        double accumulate​(java.util.List<java.lang.Double> pro,
                          java.util.List<java.lang.Double> contra)
        Accumulates the pros and contras of the given list into a single double. The higher the value the more convincing the pros, the lower the more convincing the contras. In general, if the value is greater 0 then the query under consideration can be accepted.
        Parameters:
        pro - some doubles.
        contra - some doubles.
        Returns:
        a double.