Browse Source

ExportExplicitToDot now added, thanks to Joachim Klein for pointing this out.

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
ce9ee672b5
  1. 8
      src/storm/cli/entrypoints.h

8
src/storm/cli/entrypoints.h

@ -329,6 +329,14 @@ namespace storm {
storm::exporter::explicitExportSparseModel(stream, sparseModel, model.getParameterNames());
storm::utility::closeFile(stream);
}
// And export DOT if required.
if(storm::settings::getModule<storm::settings::modules::IOSettings>().isExportDotSet()) {
std::ofstream stream;
storm::utility::openFile(storm::settings::getModule<storm::settings::modules::IOSettings>().getExportDotFilename(), stream);
sparseModel->writeDotToStream(stream);
storm::utility::closeFile(stream);
}
}
template<typename ValueType>

Loading…
Cancel
Save