STORM_LOG_THROW(!components.exitRates.is_initialized()||components.exitRates->size()==stateCount,storm::exceptions::IllegalArgumentException,"Size of exit rate vector does not match state count.");
STORM_LOG_THROW(!components.exitRates.is_initialized()||components.exitRates->size()==stateCount,storm::exceptions::IllegalArgumentException,"Size of exit rate vector does not match state count.");
STORM_LOG_THROW(this->isOfType(ModelType::Ctmc)||components.markovianStates.is_initialized(),storm::exceptions::IllegalArgumentException,"Can not create Markov Automaton: no Markovian states given.");
STORM_LOG_THROW(this->isOfType(ModelType::Ctmc)||components.markovianStates.is_initialized(),storm::exceptions::IllegalArgumentException,"Can not create Markov Automaton: no Markovian states given.");
}else{
}else{
STORM_LOG_ERROR_COND(!components.rateTransitions&&!components.exitRates.is_initialized(),"Rates specified for discrete-time model. The rates will be ignored.");
STORM_LOG_WARN_COND(!components.rateTransitions&&!components.exitRates.is_initialized(),"Rates specified for discrete-time model. The rates will be ignored.");
}
}
STORM_LOG_ERROR_COND(this->isOfType(ModelType::MarkovAutomaton)||!components.markovianStates.is_initialized(),"Markovian states given for a model that is not a Markov automaton (will be ignored).");
STORM_LOG_WARN_COND(this->isOfType(ModelType::MarkovAutomaton)||!components.markovianStates.is_initialized(),"Markovian states given for a model that is not a Markov automaton (will be ignored).");