Package net.sf.tweety.commons
Enum InferenceMode
- java.lang.Object
-
- java.lang.Enum<InferenceMode>
-
- net.sf.tweety.commons.InferenceMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InferenceMode>
,java.lang.constant.Constable
public enum InferenceMode extends java.lang.Enum<InferenceMode>
Enum constants for the two classical inference models of skeptical inference (assess a formula as true iff it is contained in every model) and credoulous inference (assess a formula as true iff it is contained in some model).- Author:
- Matthias Thimm
-
-
Method Summary
Modifier and Type Method Description static InferenceMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InferenceMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKEPTICAL
public static final InferenceMode SKEPTICAL
-
CREDULOUS
public static final InferenceMode CREDULOUS
-
-
Method Detail
-
values
public static InferenceMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InferenceMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-