Package io.github.cvc5.modes
Enum Class ProofFormat
- All Implemented Interfaces:
Serializable
,Comparable<ProofFormat>
,Constable
Enum representing the set of possible values for ProofFormat.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ProofFormat
fromInt
(int value) Converts an integer value to the corresponding enum constant.int
getValue()
Get the integer value associated with this enum constant.static ProofFormat
Returns the enum constant of this class with the specified name.static ProofFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Do not translate proof output. -
DOT
Output DOT proof. -
LFSC
Output LFSC proof. -
ALETHE
Output Alethe proof. -
CPC
Output Cooperating Proof Calculus proof based on Eunoia signatures. -
DEFAULT
Use the proof format mode set in the solver options.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromInt
Converts an integer value to the corresponding enum constant.- Parameters:
value
- the integer representation of the enum constant.- Returns:
- the corresponding enum constant for the given integer value.
- Throws:
CVC5ApiException
- if the value is outside the valid range, or if no corresponding enum constant exists.
-
getValue
public int getValue()Get the integer value associated with this enum constant.- Returns:
- the integer representation of the enum constant.
-