// We have seen this observation previously with multiple actions. Error!
// We have seen this observation previously with multiple actions. Error!
// TODO provide more diagnostic information
// 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);
oneActionObservations.set(observation);
@ -184,7 +192,15 @@ namespace storm {
}else{
}else{
if(oneActionObservations.get(observation)){
if(oneActionObservations.get(observation)){
// We have seen this observation previously with one action. Error!
// 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.");