Enum PriestWorldAdapted.TruthValue
java.lang.Object
java.lang.Enum<PriestWorldAdapted.TruthValue>
org.tweetyproject.logics.translators.adfrevision.PriestWorldAdapted.TruthValue
- All Implemented Interfaces:
Serializable
,Comparable<PriestWorldAdapted.TruthValue>
,Constable
- Enclosing class:
- PriestWorldAdapted
The three truth values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
J: Return "True" iff TruthValue is True (!) Compared to the original PriestWorld, return False if value is Both/Undecided (!)neg()
toString()
Returns the enum constant of this type with the specified name.static PriestWorldAdapted.TruthValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.weakNeg()
J: Weak negationMethods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
TRUE
TRUE -
FALSE
FALSE -
BOTH
BOTH
-
-
Method Details
-
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
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
neg
- Returns:
- a Truthvalue
-
weakNeg
J: Weak negation- Returns:
- false, if interpretation is true, true in all other case
-
getClassical
public boolean getClassical()J: Return "True" iff TruthValue is True (!) Compared to the original PriestWorld, return False if value is Both/Undecided (!)- Returns:
- whether this is equal to TRUE
-
and
- Parameters:
v
- a truth value- Returns:
- TruthValue
-
or
- Parameters:
v
- a truth value- Returns:
- TruthValue
-
toString
- Overrides:
toString
in classEnum<PriestWorldAdapted.TruthValue>
-