// We have seen this observation previously with multiple actions. Error!
// TODO provide more diagnostic information
STORM_LOG_THROW(false,storm::exceptions::AmbiguousModelException,"Observation "<<observation<<" sometimes provides multiple actions, but in state "<<state<<" provides one action.");
STORM_LOG_THROW(false,storm::exceptions::AmbiguousModelException,"Observation "<<observation<<" sometimes provides multiple actions, but in state "<<state<<stateval<<" provides only one action "<<actionval<<".");
}
oneActionObservations.set(observation);
@ -194,7 +204,15 @@ namespace storm {
}else{
if(oneActionObservations.get(observation)){
// We have seen this observation previously with one action. Error!
STORM_LOG_THROW(false,storm::exceptions::AmbiguousModelException,"Observation "<<observation<<" sometimes provides one action, but in state "<<state<<" provides multiple actions.");
STORM_LOG_THROW(false,storm::exceptions::AmbiguousModelException,"Observation "<<observation<<" sometimes provides one action, but in state "<<state<<stateval<<" provides "<<rowIndexTo-rowIndexFrom<<" actions.");
STORM_LOG_WARN_COND(model.getInitialStates().getNumberOfSetBits()==1,"The model has multiple initial states. This simulator assumes it starts from the initial state with the lowest index.");
STORM_LOG_TRACE(".. no!, multiple automata access the variable, e.g. automata "<<model.getAutomaton(*accessingAutomata.begin()).getName()<<" and "<<model.getAutomaton(*accessingAutomata.rbegin()).getName());