Class ThreeValuedLogic
java.lang.Object
org.episteme.core.mathematics.logic.multivalued.ThreeValuedLogic
- All Implemented Interfaces:
Logic<ThreeValuedLogic.Value>
Three-valued logic system (True, False, Unknown).
Based on Kleene's strong logic of indeterminacy.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionLogical AND (Conjunction).Returns the truth value representing "False" (contradiction).static ThreeValuedLogicLogical NOT (Negation).Logical OR (Disjunction).Returns the truth value representing "True" (tautology).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Logic
equivalent, implies
-
Method Details
-
getInstance
-
trueValue
Description copied from interface:LogicReturns the truth value representing "True" (tautology).- Specified by:
trueValuein interfaceLogic<ThreeValuedLogic.Value>- Returns:
- the true value
-
falseValue
Description copied from interface:LogicReturns the truth value representing "False" (contradiction).- Specified by:
falseValuein interfaceLogic<ThreeValuedLogic.Value>- Returns:
- the false value
-
and
Description copied from interface:LogicLogical AND (Conjunction).- Specified by:
andin interfaceLogic<ThreeValuedLogic.Value>- Parameters:
a- first operandb- second operand- Returns:
- a AND b
-
or
Description copied from interface:LogicLogical OR (Disjunction).- Specified by:
orin interfaceLogic<ThreeValuedLogic.Value>- Parameters:
a- first operandb- second operand- Returns:
- a OR b
-
not
Description copied from interface:LogicLogical NOT (Negation).- Specified by:
notin interfaceLogic<ThreeValuedLogic.Value>- Parameters:
a- operand- Returns:
- NOT a
-