public enum ModalFormulaType extends java.lang.Enum<ModalFormulaType>
ModalFormula
. The type is determined by the main connective of the
formula.Enum Constant and Description |
---|
AND_WFF
Conjunctive formula.
|
ATOMIC_WFF
Atomic formula.
|
BOX_WFF
Box prefixed formula.
|
DIA_WFF
Dia (diamond) prefixed formula.
|
EQ_WFF
Equivalence formula.
|
IMPLIES_WFF
Implicative formula.
|
NOT_WFF
Negated formula.
|
OR_WFF
Disjunctive formula.
|
Modifier and Type | Method and Description |
---|---|
static ModalFormulaType |
getFormulaType(ModalFormula wff)
Returns the type for the specified formula.
|
static ModalFormulaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModalFormulaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModalFormulaType ATOMIC_WFF
public static final ModalFormulaType AND_WFF
public static final ModalFormulaType OR_WFF
public static final ModalFormulaType IMPLIES_WFF
public static final ModalFormulaType NOT_WFF
public static final ModalFormulaType EQ_WFF
public static final ModalFormulaType BOX_WFF
public static final ModalFormulaType DIA_WFF
public static ModalFormulaType[] values()
for (ModalFormulaType c : ModalFormulaType.values()) System.out.println(c);
public static ModalFormulaType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ModalFormulaType getFormulaType(ModalFormula wff)
wff
- the formula.