Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete support for time in expression #154

Open
arbimo opened this issue May 24, 2022 · 0 comments
Open

Complete support for time in expression #154

arbimo opened this issue May 24, 2022 · 0 comments
Assignees

Comments

@arbimo
Copy link
Member

arbimo commented May 24, 2022

PR #140 introduced the ability to refer to timepoint in expressions. For instance something like start < start(task0).

Support is currently very minimal as it only allows for LT and LEQ between two time expressions, which are necessary ordering subtasks in hierarchical planning.

To complete the support for time expressions, we should:

  • allow usage of more operators on it:
    • equality (TIME/TIME, TIME/NUMBER)
    • addition (TIME/NUMBER)
  • have a specific feature flag when it is used in expression such as action conditions (or check and entirely forbid its usage in places where it does not make sense).

Note that the formulation of constraints explicitly mentioning timepoints should get us most of the way in supporting the level of expressiveness required for #58 (just reasoning on timepoints instead of intervals).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant