Browse Source

use weak bisim instead of strong bisim for pmcs generated from pomdps

tempestpy_adaptions
Sebastian Junges 7 years ago
parent
commit
078b5fee60
  1. 2
      src/storm-pomdp-cli/storm-pomdp.cpp

2
src/storm-pomdp-cli/storm-pomdp.cpp

@ -194,7 +194,7 @@ int main(const int argc, const char** argv) {
pmc->printModelInformationToStream(std::cout); pmc->printModelInformationToStream(std::cout);
STORM_PRINT_AND_LOG("Simplifying pMC..."); STORM_PRINT_AND_LOG("Simplifying pMC...");
//if (generalSettings.isBisimulationSet()) { //if (generalSettings.isBisimulationSet()) {
pmc = storm::api::performBisimulationMinimization<storm::RationalFunction>(pmc->as<storm::models::sparse::Dtmc<storm::RationalFunction>>(),{formula})->as<storm::models::sparse::Dtmc<storm::RationalFunction>>();
pmc = storm::api::performBisimulationMinimization<storm::RationalFunction>(pmc->as<storm::models::sparse::Dtmc<storm::RationalFunction>>(),{formula}, storm::storage::BisimulationType::Weak)->as<storm::models::sparse::Dtmc<storm::RationalFunction>>();
//} //}
STORM_PRINT_AND_LOG(" done." << std::endl); STORM_PRINT_AND_LOG(" done." << std::endl);

Loading…
Cancel
Save