Class DelpAnswer


  • public class DelpAnswer
    extends Object
    Wrapping a generic answer from a reasoner in order to allow UNDECIDED in addition to the traditional YES and NO. We ensure backward compatibility by mapping those 3 values to Double values as follows:
    • true  <=> YES       <=> Double(0)
    • false <=  NO        <=> negative number
    • false <=  UNDECIDED <=> positive number
    Note that only true can be reliably mapped to YES, whereas false remains ambiguous.
    Author:
    Linda.Briesemeister
    • Constructor Detail

      • DelpAnswer

        public DelpAnswer()