|
|
@ -169,6 +169,11 @@ namespace storm { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
template <typename ValueType, typename RewardModelType> |
|
|
|
bool MarkovAutomaton<ValueType, RewardModelType>::isConvertibleToCtmc() const { |
|
|
|
return markovianStates.full(); |
|
|
|
} |
|
|
|
|
|
|
|
template <typename ValueType, typename RewardModelType> |
|
|
|
bool MarkovAutomaton<ValueType, RewardModelType>::hasOnlyTrivialNondeterminism() const { |
|
|
|
// Check every state
|
|
|
@ -197,7 +202,7 @@ namespace storm { |
|
|
|
} |
|
|
|
|
|
|
|
template <typename ValueType, typename RewardModelType> |
|
|
|
std::shared_ptr<storm::models::sparse::Ctmc<ValueType, RewardModelType>> MarkovAutomaton<ValueType, RewardModelType>::convertToCTMC() const { |
|
|
|
std::shared_ptr<storm::models::sparse::Ctmc<ValueType, RewardModelType>> MarkovAutomaton<ValueType, RewardModelType>::convertToCtmc() const { |
|
|
|
STORM_LOG_TRACE("MA matrix:" << std::endl << this->getTransitionMatrix()); |
|
|
|
STORM_LOG_TRACE("Markovian states: " << getMarkovianStates()); |
|
|
|
|
|
|
|