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

Changes in Storm-POMDP for stormpy to work #396

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

AlexBork
Copy link
Contributor

This PR contains small changes to Storm-POMDP that are necessary to make the python bindings in stormpy work.

storm::pomdp::modelchecker::BeliefExplorationPomdpModelCheckerOptions<ValueType> options(false, true);
options.skipHeuristicSchedulers = true;
options.useClipping = false;
options.useStateEliminationCutoff = false;
options.sizeThresholdInit = sizeThreshold;
storm::pomdp::modelchecker::BeliefExplorationPomdpModelChecker<storm::models::sparse::Pomdp<ValueType>> modelchecker(pomdp, options);
storm::pomdp::modelchecker::BeliefExplorationPomdpModelChecker<
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont understand why you need this change... it makes the code harder to read?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a combination of a change that was not really necessary and some auto-formatting my editor did while committing apparently. I reverted the changes and everything still seemed to work, so let's try that.

@volkm
Copy link
Contributor

volkm commented Jun 29, 2023

LGTM. The failed CI tests stem from some unrelated issues with the xerces-c library.
I think we can squash and merge.

@AlexBork AlexBork merged commit c1fbe17 into moves-rwth:master Jul 5, 2023
14 checks passed
@AlexBork AlexBork deleted the stormpy-pomdp branch June 4, 2024 11:30
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.

3 participants