Skip to content

Commit

Permalink
doc: add semantic clarification for undefined initial values
Browse files Browse the repository at this point in the history
  • Loading branch information
alvalentini committed May 7, 2024
1 parent 6b0f445 commit 4e43c6f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/problem_representation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,10 @@ object between a series of waypoints. `[Detailed presentation 🔗] <notebooks/
:lines: 5-116
:caption: Syntax Overview


Semantic clarifications
-----------------------

Regarding undefined values, the unified planning library generally adheres to the semantics of PDDL. In essence, these state that a solution is ill-defined (and thus invalid) if any expression *to be checked for the validity of such a solution* refers to a state variable whose value is undefined in the state *under evaluation*. Such ill-formed expressions may notably appear in a condition, goal or at the right hand side of an effect.

However, there is no strict enforcement of these semantics in the library to maintain compatibility with existing solvers and tools with different interpretations. In particular, some engines might allow the reference to undefined values in disjunctions where at least one term is true. E.g. these would consider the expression `(true or undefined)` as `true` while the PDDL semantic would consider this expression as ill-formed.

0 comments on commit 4e43c6f

Please sign in to comment.