ssardina-research / pypddl-translator Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thiagopbueno/pypddl-parser
Domain and problem PDDL parser in Python3 using ply.
License: GNU General Public License v3.0
This project forked from thiagopbueno/pypddl-parser
Domain and problem PDDL parser in Python3 using ply.
License: GNU General Public License v3.0
In a domain def, some thignsthings are optional, but this is very badly handled by this code:
Re-do it following tarski solution:
go beyond 1ND oneof and allow nested oneof
in effects.
This has a forall that is not yet handled:
Originally posted by @ssardina in #4 (comment)
currently the precondition is limited to a list of literals, but preconditions can have way more:
Check full language of prec: https://planning.wiki/ref/pddl/domain#preconditions
The PyPDDL parser fails at these FOND domains (from the fond-sat repo):
REMOVE METRIC STATEMENTS - the rest is fixed
replace (and)
with (and (true))
and add predicate (true)
lots of :requirements not accounted before, now they are
still there are many non-detet effects of the form (and)
, they should be replaced with (and (true))
one (and)
to fix
one (and)
to fix
two (and)
to fix
This has a forall that is not yet handled:
Another issue is the use of constants, that is much more basic and should be incorporated into the parser for sure:
Originally posted by @ssardina in #4 (comment)
OK this seems to be due to metrics:
Originally posted by @ssardina in #4 (comment)
Check the spec of PDDL 2.1 for metrics: https://planning.wiki/ref/pddl21/domain
@nitinef said:
Currently it is readonly.
e.g., after parsing the domain one cannot change the requirements (domain.requirements = new_requirements, will throw an error). This is because domain.py only has a getter and not a setter for requirements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.