@ -345,6 +349,15 @@ class AbstractModel: public std::enable_shared_from_this<AbstractModel<T>> {
returnstatic_cast<bool>(choiceLabeling);
returnstatic_cast<bool>(choiceLabeling);
}
}
voidconvertTransitionRewardsToStateRewards(){
STORM_LOG_THROW(this->hasTransitionRewards(),storm::exceptions::InvalidOperationException,"Cannot reduce non-existant transition rewards to state rewards.");
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;
STORM_LOG_THROW(model->getType()==storm::models::DTMC,storm::exceptions::InvalidSettingsException,"Bisimulation minimization is currently only available for DTMCs.");
STORM_LOG_THROW(model->getType()==storm::models::DTMC,storm::exceptions::InvalidSettingsException,"Bisimulation minimization is currently only available for DTMCs.");