issues
search
tmigimatsu
/
symbolic
C++/Python PDDL Library
https://tmigimatsu.github.io/symbolic/
MIT License
9
stars
10
forks
source link
Avoid duplicate objects and propositions
#4
Open
kevin-thankyou-lin
opened
1 year ago
kevin-thankyou-lin
commented
1 year ago
Convert
class Problem
's
_objects
and
_initial_states
to sets to avoid duplicates
Sort the sets alphabetically when displaying in the .pddl file
return False when adding objects/initial_props if already exists
class Problem
's_objects
and_initial_states
to sets to avoid duplicates