Solve time constraints
Opened this issue · 2 comments
fire commented
Describe the proposed feature and how it helps to overcome a problem or limitation
Solve time constraints for a visual novel.
Other information about your context or usecase.
A visual novel needs to plan around events like in the test case of a concert.
If known, describe how your proposal will work, with code, pseudo-code, mock-ups, or diagrams
Implement time constraints.
Create a state variable whose value is an agenda of future events, and having actions that insert events into the agenda.
- When objects of a resource type are created, relevant aspects of state are initialized by providing an optional
second argument (also delimited by curly brackets and in the form of predicate = value). As new action tokens are
inserted onto a resource timeline, the preconditions and effects of the corresponding actions will dictate how relevant
aspects of state will change - A sync-constraints denotes that task1 must start immediately after task0 completes.
- T-HTN borrows directly from PDDL 2.1, incorporating its :duration field and the temporal qualifiers (atstart, atend, overall) used in preconditions and effects into the action definition of HDDL.
Anything else
For me I want to solve this problem here.
https://research.sabanciuniv.edu/id/eprint/39359/1/10294686_EmirArtar.pdf
Everyday there are three possible choices, and certain days have certain events.
https://icaps22.icaps-conference.org/workshops/HPlan/papers/paper-09.pdf
fire commented
Some progress, but lost the monotonic time constraint. Need to debug.
fire commented
Lecture notes on time planning https://www.cs.umd.edu/users/nau/apa/slides/chap4.pdf