|
|
@ -824,6 +824,7 @@ namespace storm { |
|
|
|
}, |
|
|
|
[&sparseModel,&ioSettings] (std::unique_ptr<storm::modelchecker::CheckResult> const& result) { |
|
|
|
if (ioSettings.isExportSchedulerSet()) { |
|
|
|
if (result->isExplicitQuantitativeCheckResult()) { |
|
|
|
if (result->template asExplicitQuantitativeCheckResult<ValueType>().hasScheduler()) { |
|
|
|
auto const& scheduler = result->template asExplicitQuantitativeCheckResult<ValueType>().getScheduler(); |
|
|
|
STORM_PRINT_AND_LOG("Exporting scheduler ... ") |
|
|
@ -831,6 +832,9 @@ namespace storm { |
|
|
|
} else { |
|
|
|
STORM_LOG_ERROR("Scheduler requested but could not be generated."); |
|
|
|
} |
|
|
|
} else { |
|
|
|
STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Scheduler export not supported for this property."); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|