Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended handling of terminal states for POMDPs #617

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AlexBork
Copy link
Contributor

@AlexBork AlexBork commented Sep 5, 2024

This PR extends the handling of states marked as terminal in the PrismNextStateGenerator. In particular, terminal states in POMDPs are expanded with self-loops for all enabled actions, preventing erroneous behavior if there are other states with the same observation as a terminal state present in the model.

Resolves #603

@tquatmann
Copy link
Member

I don't like the code duplication introduced here.
However, I see that this is the lesser evil as the alternatives would be

  • doing this "properly"; requiring a more involved rewrite of the PrismNextStateGenerator or
  • ignoring the issue

LGTM

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.

Missing handling of terminal states for POMDPs
2 participants