Source code for sparkle.types.status
"""Class for solver status."""
from __future__ import annotations
from enum import Enum
[docs]
class SolverStatus(str, Enum):
"""Possible return states for solver runs."""
SUCCESS = "SUCCESS"
CRASHED = "CRASHED"
TIMEOUT = "TIMEOUT"
WRONG = "WRONG"
UNKNOWN = "UNKNOWN"
ERROR = "ERROR"
KILLED = "KILLED"
# SAT specific status
SAT = "SAT"
UNSAT = "UNSAT"