Class DelpAnswer
java.lang.Object
org.tweetyproject.arg.delp.semantics.DelpAnswer
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The `Type` enum represents the possible types of answers: `YES`, `NO`, `UNDECIDED`, and `UNKNOWN`. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
DelpAnswer
public DelpAnswer()Default Constructor
-