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

Solve time constraints #1

Open
fire opened this issue Mar 15, 2023 · 2 comments
Open

Solve time constraints #1

fire opened this issue Mar 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@fire
Copy link
Member

fire commented Mar 15, 2023

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.

  1. 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
  2. A sync-constraints denotes that task1 must start immediately after task0 completes.
  3. 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

dananau/GTPyhop#1

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.

Visual Novel

https://www.ri.cmu.edu/app/uploads/2021/08/T_HTN__Timeline_Based_HTN_Planning_for_Multi_Agent_Systems.pdf

https://icaps22.icaps-conference.org/workshops/HPlan/papers/paper-09.pdf

@fire fire added the enhancement New feature or request label Mar 15, 2023
@fire
Copy link
Member Author

fire commented Dec 20, 2023

Some progress, but lost the monotonic time constraint. Need to debug.

@fire
Copy link
Member Author

fire commented May 20, 2024

Lecture notes on time planning https://www.cs.umd.edu/users/nau/apa/slides/chap4.pdf

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

No branches or pull requests

1 participant