Browse Source

building choice labeling when the corresponding option is given

tempestpy_adaptions
TimQu 8 years ago
parent
commit
77a90184e7
  1. 4
      src/storm/utility/storm.h

4
src/storm/utility/storm.h

@ -138,6 +138,10 @@ namespace storm {
storm::builder::ExplicitModelBuilderResult<ValueType> buildSparseModel(storm::storage::SymbolicModelDescription const& model, std::vector<std::shared_ptr<storm::logic::Formula const>> const& formulas) { storm::builder::ExplicitModelBuilderResult<ValueType> buildSparseModel(storm::storage::SymbolicModelDescription const& model, std::vector<std::shared_ptr<storm::logic::Formula const>> const& formulas) {
storm::builder::BuilderOptions options(formulas); storm::builder::BuilderOptions options(formulas);
if (storm::settings::getModule<storm::settings::modules::IOSettings>().isBuildChoiceLabelsSet()) {
options.setBuildChoiceLabels(true);
}
if (storm::settings::getModule<storm::settings::modules::IOSettings>().isBuildFullModelSet()) { if (storm::settings::getModule<storm::settings::modules::IOSettings>().isBuildFullModelSet()) {
options.setBuildAllLabels(); options.setBuildAllLabels();
options.setBuildAllRewardModels(); options.setBuildAllRewardModels();

Loading…
Cancel
Save