Git Product home page Git Product logo

Comments (5)

tewhalen avatar tewhalen commented on May 28, 2024

was this a design decision? otherwise, it seems like this ought to be a pretty easy fix, i'll try to put together a patch.

from goap.

agoose77 avatar agoose77 commented on May 28, 2024

This is an interesting bug, thank you for the easy-reproducer! Thank you for leaving the report open - I saw this when you posted it, but must have let it slip my mind.

This is caused by the backtracking search, in which the preconditions of the action overwrite the goal state such that, for that node in the path, the backtracked goal state and current states do not agree.

This should be solvable, but I need to think about a few other issues whilst I'm addressing this one, namely:

  • how to overwrite symbols without breaking the backtracking
  • whether to simplify the neighbour finding routine (currently it does a first pass of all actions which can modify a precondition symbol of the action, and in a later called method checks that these "pseudo neighbours" actually satisfy the state).

from goap.

cuhde avatar cuhde commented on May 28, 2024

Any update on this? i believe i have the same issue. What would be a workaround? In the current state it is unusable for me unfortunately.

from goap.

agoose77 avatar agoose77 commented on May 28, 2024

I've just addressed this and pushed a new version. I've removed the various plan execution modules, because that is highly dependent upon the use case - this package is really only concerned with planning.

I'll update the examples soon. There may be some bugs, but we'll find those down the road!

from goap.

cuhde avatar cuhde commented on May 28, 2024

Thank you for the update, i will try to implement it into my code. The planning is all i need so this seems to be a good fit.

from goap.

Related Issues (6)

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.