@ -10,6 +10,7 @@
# include "src/modelchecker/reachability/CollectConstraints.h"
# include "src/modelchecker/reachability/CollectConstraints.h"
//#include "src/modelchecker/reachability/DirectEncoding.h"
//#include "src/modelchecker/reachability/DirectEncoding.h"
//#include "src/storage/DeterministicModelStrongBisimulationDecomposition.h"
# include "src/modelchecker/reachability/SparseSccModelChecker.h"
# include "src/modelchecker/reachability/SparseSccModelChecker.h"
# include "src/storage/parameters.h"
# include "src/storage/parameters.h"
/*!
/*!
@ -34,8 +35,6 @@ int main(const int argc, const char** argv) {
storm : : prism : : Program program = storm : : parser : : PrismParser : : parse ( programFile ) ;
storm : : prism : : Program program = storm : : parser : : PrismParser : : parse ( programFile ) ;
std : : shared_ptr < storm : : models : : AbstractModel < storm : : RationalFunction > > model = storm : : adapters : : ExplicitModelAdapter < storm : : RationalFunction > : : translateProgram ( program , constants ) ;
std : : shared_ptr < storm : : models : : AbstractModel < storm : : RationalFunction > > model = storm : : adapters : : ExplicitModelAdapter < storm : : RationalFunction > : : translateProgram ( program , constants ) ;
model - > printModelInformationToStream ( std : : cout ) ;
model - > printModelInformationToStream ( std : : cout ) ;
// Program Translation Time Measurement, End
// Program Translation Time Measurement, End
@ -43,6 +42,13 @@ int main(const int argc, const char** argv) {
std : : cout < < " Parsing and translating the model took " < < std : : chrono : : duration_cast < std : : chrono : : milliseconds > ( programTranslationEnd - programTranslationStart ) . count ( ) < < " ms. " < < std : : endl < < std : : endl ;
std : : cout < < " Parsing and translating the model took " < < std : : chrono : : duration_cast < std : : chrono : : milliseconds > ( programTranslationEnd - programTranslationStart ) . count ( ) < < " ms. " < < std : : endl < < std : : endl ;
std : : shared_ptr < storm : : models : : Dtmc < storm : : RationalFunction > > dtmc = model - > as < storm : : models : : Dtmc < storm : : RationalFunction > > ( ) ;
std : : shared_ptr < storm : : models : : Dtmc < storm : : RationalFunction > > dtmc = model - > as < storm : : models : : Dtmc < storm : : RationalFunction > > ( ) ;
// Perform bisimulation minimization if requested.
// if (storm::settings::generalSettings().isBisimulationSet()) {
// storm::storage::DeterministicModelStrongBisimulationDecomposition<storm::RationalFunction> bisimulationDecomposition(*dtmc, true);
// dtmc = bisimulationDecomposition.getQuotient()->as<storm::models::Dtmc<storm::RationalFunction>>();
// }
assert ( dtmc ) ;
assert ( dtmc ) ;
storm : : modelchecker : : reachability : : CollectConstraints < storm : : RationalFunction > constraintCollector ;
storm : : modelchecker : : reachability : : CollectConstraints < storm : : RationalFunction > constraintCollector ;
constraintCollector ( * dtmc ) ;
constraintCollector ( * dtmc ) ;