Comments (5)
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.
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goap.