Comments (1)
This is a general issue with the flex/bison specification of rddlsim (in src/rddl/parser/parser.{lex,cup}), which handles all of those optional elements by listing possible legal combinations. The simplest solution for this issue is to update the parser.cup file with an entry where the object section of the instance is omitted, but this would not help the general problem.
I would rather like to find a general solution that explicitly let's us define entries as optional and allows us to get away with a single specification instead of explicitly listing all possible combinations, but I don't know if I find the time to look into this (and I don't know enough about flex bison to judge how much work this is). Is there anyone else with the necessary flex/bison background who has the time to look into this?
from rddlsim.
Related Issues (11)
- error using rddl.translate.RDDL2Format -> cannot translate dbn_prop.rddl to .sperseus format
- question about grouping of operators HOT 1
- rddlsim blows its stack when running PROST examples standalone HOT 5
- Better explanation of failing preconditions HOT 1
- Translate from rddl to spudd
- Bug in QUANT_EXPR.sample()
- graph.Graph.main() - Unrecognized character '.' (46)
- RDDL grammar BNF
- POMCP variant of UCT for POMDPs
- max-nondef-actions should be sanity checked HOT 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 rddlsim.