|
|
@ -39,6 +39,11 @@ namespace storm { |
|
|
|
typename storm::builder::DdPrismModelBuilder<LibraryType, ValueType>::Options options; |
|
|
|
options = typename storm::builder::DdPrismModelBuilder<LibraryType, ValueType>::Options(formulas); |
|
|
|
|
|
|
|
if (storm::settings::getModule<storm::settings::modules::IOSettings>().isBuildFullModelSet()) { |
|
|
|
options.buildAllLabels = true; |
|
|
|
options.buildAllRewardModels = true; |
|
|
|
} |
|
|
|
|
|
|
|
storm::builder::DdPrismModelBuilder<LibraryType, ValueType> builder; |
|
|
|
return builder.build(model.asPrismProgram(), options); |
|
|
|
} else { |
|
|
@ -46,6 +51,11 @@ namespace storm { |
|
|
|
typename storm::builder::DdJaniModelBuilder<LibraryType, ValueType>::Options options; |
|
|
|
options = typename storm::builder::DdJaniModelBuilder<LibraryType, ValueType>::Options(formulas); |
|
|
|
|
|
|
|
if (storm::settings::getModule<storm::settings::modules::IOSettings>().isBuildFullModelSet()) { |
|
|
|
options.buildAllLabels = true; |
|
|
|
options.buildAllRewardModels = true; |
|
|
|
} |
|
|
|
|
|
|
|
storm::builder::DdJaniModelBuilder<LibraryType, ValueType> builder; |
|
|
|
return builder.build(model.asJaniModel(), options); |
|
|
|
} |
|
|
|