33 "Multi-objective Model checking on model with multiple initial states is not supported.");
38 storm::exceptions::InvalidArgumentException,
"Unable to check multi-objective formula on non-closed Markov automaton.");
43 swPreprocessing.
stop();
44 STORM_LOG_INFO(
"Preprocessing done in " << swPreprocessing <<
" seconds.\n"
45 <<
" Result: " << preprocessorResult <<
'\n');
49 std::unique_ptr<CheckResult> result;
52 case MultiObjectiveMethod::Pcaa: {
54 STORM_LOG_THROW(!produceScheduler, storm::exceptions::NotImplementedException,
55 "Scheduler computation is not implement for queries with restricted scheduler classes.");
59 result = achChecker.check(env);
62 storm::exceptions::NotImplementedException,
"The query type is not implemented with scheduler restrictions.");
64 result = explorer.check(env);
66 explorer.exportPlotOfCurrentApproximation(env);
77 result = query.
check(subEnv, produceScheduler);
78 if (produceScheduler) {
79 STORM_LOG_THROW(result->isExplicitParetoCurveCheckResult(), storm::exceptions::UnexpectedException,
80 "Scheduler computation is not implement for the produced result type.");
81 auto& paretoRes = result->template asExplicitParetoCurveCheckResult<typename SparseModelType::ValueType>();
82 STORM_LOG_ASSERT(paretoRes.hasScheduler(),
"Scheduler requested but none was produced.");
83 if (preprocessorResult.memoryIncorporationReverseData) {
91 case MultiObjectiveMethod::ConstraintBased: {
93 "The selected multi-objective model checking method does not support scheduler restrictions.");
94 STORM_LOG_THROW(!produceScheduler, storm::exceptions::NotImplementedException,
95 "Scheduler computation is not implement for constraint-based multi objective solving.");
96 std::unique_ptr<SparseCbQuery<SparseModelType>> query;
97 switch (preprocessorResult.queryType) {
103 "The multi-objective query type is not supported for the selected solution method '" <<
toString(method) <<
"'.");
107 result = query->check(env);
110 STORM_LOG_ERROR(
"Can not export plot for the constrained based solver.");
116 "The multi-objective solution method '" <<
toString(method) <<
"' is not supported.");
121 if (storm::settings::getModule<storm::settings::modules::CoreSettings>().isShowStatisticsSet()) {
122 STORM_PRINT_AND_LOG(
"Solving multi-objective query took " << swTotal <<
" seconds (consisting of " << swPreprocessing
123 <<
" seconds for preprocessing and " << swAnalysis
124 <<
" seconds for analyzing the preprocessed model).\n");