Skip to content

Avoid duplicate objects and propositions#4

Open
kevin-thankyou-lin wants to merge 1 commit intotmigimatsu:mainfrom
kevin-thankyou-lin:main
Open

Avoid duplicate objects and propositions#4
kevin-thankyou-lin wants to merge 1 commit intotmigimatsu:mainfrom
kevin-thankyou-lin:main

Conversation

@kevin-thankyou-lin
Copy link
Copy Markdown

  • 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

… sets to avoid duplicates, sort the sets alphabetically when displaying in the .pddl file, return False when adding objects/initial_props if already exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant