Git Product home page Git Product logo

Comments (3)

Maumagnaguagno avatar Maumagnaguagno commented on June 3, 2024 1

It works!
Took me some time to retest everything.
Once tests are added a new version will be released.

Reopen this issue if you find other instances with the same behavior.
Thanks again for the feedback.

from hypertension.

Maumagnaguagno avatar Maumagnaguagno commented on June 3, 2024

Thanks for the very well written report and files.
I confirm the incorrect behavior with the provided planning instance.
I was able to obtain a smaller reproducible example from your input.
The reproducible example is in JSHOP style, which I find more compact and easier to modify.
EDIT: I found a minimal reproducible example with one operator and two methods.

Domain
(defdomain test (

  (:operator (!act)
    ()
    ((pre))
    ()
  )

  (:method (t_repeat)
    ()
    (
      (t_op)
      (t_op)
    )
  )

  (:method (t_op)
    ((pre))
    ((!act))
  )
))
Problem
(defproblem prob test
  ((pre))
  ((t_repeat))
)

from hypertension.

Maumagnaguagno avatar Maumagnaguagno commented on June 3, 2024

I found the source of the problem: clearing preconditions too soon for operators that appear as the first subtask and only once.
The problem is that such operator could be reached again through another subtask.
A fast solution is to comment the op[#].clear lines.
Tomorrow I will investigate more.
Please leave the issue open until this is resolved.

from hypertension.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.