LOG4CPLUS_WARN(logger,"Warning while parsing "<<filename<<": state "<<skippedRow<<" has no outgoing transitions. A self-loop was inserted.");
}else{
@ -194,7 +194,7 @@ namespace storm {
}
// If we encountered deadlock and did not fix them, now is the time to throw the exception.
if(!fixDeadlocks&&hadDeadlocks)throwstorm::exceptions::WrongFormatException()<<"Some of the nodes had deadlocks. You can use --fixDeadlocks to insert self-loops on the fly.";
if(dontFixDeadlocks&&hadDeadlocks)throwstorm::exceptions::WrongFormatException()<<"Some of the states do not have outgoing transitions.";
}
// Finally, build the actual matrix, test and return it.
if(!fixDeadlocks&&hadDeadlocks&&!isRewardFile)throwstorm::exceptions::WrongFormatException()<<"Some of the nodes had deadlocks. You can use --fixDeadlocks to insert self-loops on the fly.";
if(dontFixDeadlocks&&hadDeadlocks&&!isRewardFile)throwstorm::exceptions::WrongFormatException()<<"Some of the states do not have outgoing transitions.";
// Since we assume the transition rewards are for the transitions of the model, we copy the rowGroupIndices.
.addArgument(storm::settings::ArgumentBuilder::createStringArgument("filename","The file from which to read the transition rewards.").addValidationFunctionString(storm::settings::ArgumentValidators::existingReadableFileValidator()).build()).build());
this->addOption(storm::settings::OptionBuilder(moduleName,stateRewardsOptionName,false,"If given, the state rewards are read from this file and added to the explicit model. Note that this requires the model to be given as an explicit model (i.e., via --"+explicitOptionName+").")
.addArgument(storm::settings::ArgumentBuilder::createStringArgument("filename","The file from which to read the state rewards.").addValidationFunctionString(storm::settings::ArgumentValidators::existingReadableFileValidator()).build()).build());
this->addOption(storm::settings::OptionBuilder(moduleName,fixDeadlockOptionName,false,"If the model contains deadlock states, they need to be fixed by setting this option.").setShortName(fixDeadlockOptionShortName).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());
this->addOption(storm::settings::OptionBuilder(moduleName,eqSolverOptionName,false,"Sets which solver is preferred for solving systems of linear equations.")