Replies: 2 comments 12 replies
-
@e-cal Can you recall why it's stored as strings there? From the So which (python) objects, in particular are holding you back as being strings? |
Beta Was this translation helpful? Give feedback.
-
Ok, @e-cal et al., let's think this one through. I see two prevailing options right now: Use
|
Beta Was this translation helpful? Give feedback.
-
Hi there,
So, I was starting to work on the issue to convert a
Model
to tarski objects and then to PDDL. The problem that I ran into is that, since theModel
stores all of its information in strings, it is difficult to parse that information in a meaningful way. For example, givenon object c object e
, there is no simple way to parse thaton
is a predicate that takes two argumentsc
ande
of typeobject
(given that, withinModel
, I have no information on what any of those words mean).There are a couple handy functions in
Generator
(extract_action_typing
andextract_predicate_typing
) that would make this parsing really easy, but from what I understand, the extraction side of things is supposed to be completely isolated from the rest of the API. If that's out of the question, is there any better way to tackle this other than parsing strings?Beta Was this translation helpful? Give feedback.
All reactions