Sebastian Junges 6 years ago
parent
commit
36ed6f0a91
  1. 4
      src/storm-cli-utilities/model-handling.h

4
src/storm-cli-utilities/model-handling.h

@ -148,7 +148,9 @@ namespace storm {
bool transformToJani = ioSettings.isPrismToJaniSet(); bool transformToJani = ioSettings.isPrismToJaniSet();
bool transformToJaniForJit = builderType == storm::builder::BuilderType::Jit; bool transformToJaniForJit = builderType == storm::builder::BuilderType::Jit;
STORM_LOG_WARN_COND(transformToJani || !transformToJaniForJit, "The JIT-based model builder is only available for JANI models, automatically converting the PRISM input model."); STORM_LOG_WARN_COND(transformToJani || !transformToJaniForJit, "The JIT-based model builder is only available for JANI models, automatically converting the PRISM input model.");
transformToJani |= transformToJaniForJit;
bool transformToJaniForDdMA = (builderType == storm::builder::BuilderType::Dd) && (input.model->getModelType() == storm::storage::SymbolicModelDescription::ModelType::MA);
STORM_LOG_WARN_COND(transformToJani || !transformToJaniForDdMA, "Dd-based model builder for Markov Automata is only available for JANI models, automatically converting the PRISM input model.");
transformToJani |= (transformToJaniForJit || transformToJaniForDdMA);
if (transformToJani) { if (transformToJani) {
storm::prism::Program const& model = output.model.get().asPrismProgram(); storm::prism::Program const& model = output.model.get().asPrismProgram();

Loading…
Cancel
Save