public enum FormulaType extends java.lang.Enum<FormulaType>
Formula. The type is determined by the main connective of the
formula.| Enum Constant and Description |
|---|
AND_WFF
Conjunctive formula.
|
ATOMIC_WFF
Atomic formula.
|
EQ_WFF
Equivalence formula.
|
IMPLIES_WFF
Implicative formula.
|
NOT_WFF
Negated formula.
|
OR_WFF
Disjunctive formula.
|
| Modifier and Type | Method and Description |
|---|---|
static FormulaType |
getFormulaType(_PropositionalFormula wff)
Returns the type for the specified formula.
|
static FormulaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormulaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormulaType ATOMIC_WFF
public static final FormulaType AND_WFF
public static final FormulaType OR_WFF
public static final FormulaType IMPLIES_WFF
public static final FormulaType NOT_WFF
public static final FormulaType EQ_WFF
public static FormulaType[] values()
for (FormulaType c : FormulaType.values()) System.out.println(c);
public static FormulaType 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 FormulaType getFormulaType(_PropositionalFormula wff)
wff - the formula.