Class DelpAnswer


  • public class DelpAnswer
    extends java.lang.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
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DelpAnswer.Type  
    • Constructor Summary

      Constructors 
      Constructor Description
      DelpAnswer()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelpAnswer

        public DelpAnswer()