STORM_LOG_THROW(transitionMatrix.getRowGroupCount()==this->getStateActionRewardVector().size(),storm::exceptions::InvalidOperationException,"The reduction to state rewards is only possible if the size of the action reward vector equals the number of states.");
if(this->hasStateRewards()){
STORM_LOG_THROW(this->getStateRewardVector().size()==this->getStateActionRewardVector().size(),storm::exceptions::InvalidOperationException,"The reduction to state rewards is only possible of both the state and the state-action rewards have the same dimension.");
this->addOption(storm::settings::OptionBuilder(moduleName,counterexampleOptionName,false,"Generates a counterexample for the given PRCTL formulas if not satisfied by the model")
.addArgument(storm::settings::ArgumentBuilder::createStringArgument("filename","The name of the file to which the counterexample is to be written.").setDefaultValueString("-").setIsOptional(true).build()).setShortName(counterexampleOptionShortName).build());
this->addOption(storm::settings::OptionBuilder(moduleName,dontFixDeadlockOptionName,false,"If the model contains deadlock states, they need to be fixed by setting this option.").setShortName(dontFixDeadlockOptionShortName).build());