LOG4CPLUS_ERROR(logger,"Transition reward matrix is not a submatrix of the transition matrix, i.e. there are rewards for transitions that do not exist.");
LOG4CPLUS_ERROR(logger,"Transition reward matrix is not a submatrix of the transition matrix, i.e. there are rewards for transitions that do not exist.");
LOG4CPLUS_ERROR(logger,"Transition reward matrix is not a submatrix of the transition matrix, i.e. there are rewards for transitions that do not exist.");
LOG4CPLUS_ERROR(logger,"Transition reward matrix is not a submatrix of the transition matrix, i.e. there are rewards for transitions that do not exist.");
LOG4CPLUS_ERROR(logger,"Found deadlock states (e.g. "<<lastsource+1<<") during parsing. Please fix them or set the appropriate flag.");
LOG4CPLUS_ERROR(logger,"Found deadlock states (e.g. "<<lastsource+1<<") during parsing. Please fix them or set the appropriate flag.");
throwstorm::exceptions::WrongFormatException()<<"Found deadlock states (e.g. "<<lastsource+1<<") during parsing. Please fix them or set the appropriate flag.";
throwstorm::exceptions::WrongFormatException()<<"Found deadlock states (e.g. "<<lastsource+1<<") during parsing. Please fix them or set the appropriate flag.";
}
}
}elseif(source<lastsource){
LOG4CPLUS_ERROR(logger,"Illegal state choice order. A choice of state "<<source<<" appears at an illegal position.");
throwstorm::exceptions::WrongFormatException()<<"Illegal state choice order. A choice of state "<<source<<" appears at an illegal position.";
}
}
++result.numberOfChoices;
++result.numberOfChoices;
@ -78,6 +81,7 @@ namespace storm {
// Now that we have the source state and the information whether or not the current choice is probabilistic or Markovian, we need to read the list of successors and the probabilities/rates.
// Now that we have the source state and the information whether or not the current choice is probabilistic or Markovian, we need to read the list of successors and the probabilities/rates.
boolhasSuccessorState=false;
boolhasSuccessorState=false;
boolencounteredNewDistribution=false;
boolencounteredNewDistribution=false;
uint_fast64_tlastSuccessorState=0;
// At this point, we need to check whether there is an additional successor or we have reached the next choice for the same or a different state.
// At this point, we need to check whether there is an additional successor or we have reached the next choice for the same or a different state.
do{
do{
@ -91,9 +95,6 @@ namespace storm {
encounteredEOF=true;
encounteredEOF=true;
}
}
}elseif(buf[0]=='*'){
}elseif(buf[0]=='*'){
// We need to record that we found at least one successor state for the current choice.
hasSuccessorState=true;
// As we have encountered a "*", we know that there is an additional successor state for the current choice.
// As we have encountered a "*", we know that there is an additional successor state for the current choice.