Browse Source

Added model information output for explicit input.

Former-commit-id: df722a3035
tempestpy_adaptions
dehnert 12 years ago
parent
commit
736a9864ac
  1. 2
      src/storm.cpp

2
src/storm.cpp

@ -285,10 +285,10 @@ int main(const int argc, const char* argv[]) {
// Depending on the model type, the appropriate model checking procedure is chosen. // Depending on the model type, the appropriate model checking procedure is chosen.
storm::modelchecker::prctl::AbstractModelChecker<double>* modelchecker = nullptr; storm::modelchecker::prctl::AbstractModelChecker<double>* modelchecker = nullptr;
parser.getModel<storm::models::AbstractModel<double>>()->printModelInformationToStream(std::cout);
switch (parser.getType()) { switch (parser.getType()) {
case storm::models::DTMC: case storm::models::DTMC:
LOG4CPLUS_INFO(logger, "Model is a DTMC."); LOG4CPLUS_INFO(logger, "Model is a DTMC.");
parser.getModel<storm::models::Dtmc<double>>()->writeDotToStream(std::cout);
modelchecker = createPrctlModelChecker(*parser.getModel<storm::models::Dtmc<double>>()); modelchecker = createPrctlModelChecker(*parser.getModel<storm::models::Dtmc<double>>());
checkPrctlFormulae(*modelchecker); checkPrctlFormulae(*modelchecker);
break; break;

Loading…
Cancel
Save