Class DelpAnswer

java.lang.Object
org.tweetyproject.arg.delp.semantics.DelpAnswer

public class DelpAnswer extends Object
The `DelpAnswer` class represents a wrapper around a generic answer from a reasoner, allowing for an additional state of `UNDECIDED` alongside the traditional `YES` and `NO`.

This class ensures backward compatibility by mapping these three states 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`, while false remains ambiguous and is mapped by default to `NO`.

Authors: Linda Briesemeister