STORM_LOG_THROW(type!=storm::models::ModelType::MarkovAutomaton,storm::exceptions::NotSupportedException,"Markov Automata in DRN format are not supported (unclear indication of Markovian Choices in DRN format)");
STORM_LOG_THROW(type!=storm::models::ModelType::S2pg,storm::exceptions::NotSupportedException,"Stochastic Two Player Games in DRN format are not supported.");
STORM_LOG_THROW(line=="@nr_states",storm::exceptions::WrongFormatException,"Expected number of states.");
type=storm::models::getModelType(line.substr(7));
std::getline(file,line);
STORM_LOG_TRACE("Model type: "<<type);
size_tnrStates=boost::lexical_cast<size_t>(line);
STORM_LOG_THROW(type!=storm::models::ModelType::MarkovAutomaton,storm::exceptions::NotSupportedException,"Markov Automata in DRN format are not supported (unclear indication of Markovian Choices in DRN format)");
STORM_LOG_TRACE("Model type: "<<type);
STORM_LOG_THROW(type!=storm::models::ModelType::S2pg,storm::exceptions::NotSupportedException,"Stochastic Two Player Games in DRN format are not supported.");
sawType=true;
std::getline(file,line);
}
STORM_LOG_THROW(line=="@model",storm::exceptions::WrongFormatException,"Expected model declaration.");
xxxxxxxxxx