Class LTL
java.lang.Object
org.episteme.core.mathematics.logic.temporal.LTL
Linear Temporal Logic (LTL) implementation.
Provides semantics for evaluating LTL formulas over a linear sequence of states.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluateImplication(String formula, boolean p, boolean q) Evaluates a simple implication formula "P -> Q".booleanEvaluates if a property holds in the next state.booleanValidates if a formula is an allowed axiom.
-
Constructor Details
-
LTL
public LTL()
-
-
Method Details
-
next
-
validate
-
evaluateImplication
Evaluates a simple implication formula "P -> Q".- Parameters:
formula- the formula stringp- truth value of antecedent Pq- truth value of consequent Q- Returns:
- truth value of P -> Q
-