case UnknownExplanation::RESOURCEOUT: out << "RESOURCEOUT"; break;
case UnknownExplanation::MEMOUT: out << "MEMOUT"; break;
case UnknownExplanation::INTERRUPTED: out << "INTERRUPTED"; break;
- case UnknownExplanation::NO_STATUS: out << "NO_STATUS"; break;
case UnknownExplanation::UNSUPPORTED: out << "UNSUPPORTED"; break;
case UnknownExplanation::OTHER: out << "OTHER"; break;
case UnknownExplanation::UNKNOWN_REASON: out << "UNKNOWN_REASON"; break;
: d_result(result), d_value(value), d_infinity(isInf)
{
}
- OptimizationResult()
- : d_result(Result::UNKNOWN, UnknownExplanation::NO_STATUS),
- d_value(),
- d_infinity(FINITE)
- {
- }
+ OptimizationResult() : d_result(), d_value(), d_infinity(FINITE) {}
~OptimizationResult() = default;
/**
* Returns an enum indicating whether
* the result is SAT or not.
- * @return whether the result is SAT, UNSAT or UNKNOWN
+ * @return whether the result is SAT, UNSAT or NONE
**/
Result getResult() const { return d_result; }