Class LukasiewiczLogic
java.lang.Object
org.episteme.core.mathematics.logic.multivalued.LukasiewiczLogic
Ã…Âukasiewicz infinite-valued logic.
In Ã…Âukasiewicz logic, truth values are real numbers in [0,1]. Operations are defined as: - Negation: ¬a = 1 - a - Implication: a → b = min(1, 1 - a + b) - Conjunction: a ∧ b = max(0, a + b - 1) - Disjunction: a ∨ b = min(1, a + b)
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionLogical AND (Conjunction).doubleComputes the Ã…Âukasiewicz distance between two truth values.Returns the truth value representing "False" (contradiction).static LukasiewiczLogicReturns the singleton instance.Logical Implication (a -> b).Logical NOT (Negation).Logical OR (Disjunction).toString()Returns the truth value representing "True" (tautology).Validates that a value is in [0,1].Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Logic
equivalent
-
Method Details
-
getInstance
-
trueValue
-
falseValue
Description copied from interface:LogicReturns the truth value representing "False" (contradiction).- Specified by:
falseValuein interfaceLogic<Double>- Returns:
- the false value
-
and
-
or
-
not
-
implies
-
validate
Validates that a value is in [0,1].- Parameters:
value- the value to validate- Returns:
- the validated value
- Throws:
IllegalArgumentException- if value is not in [0,1]
-
distance
-
toString
-