|
|
@ -105,7 +105,7 @@ namespace storm { |
|
|
|
template<storm::dd::DdType Type, typename ValueType> |
|
|
|
MarkovAutomaton<Type, ValueType> MarkovAutomaton<Type, ValueType>::close() { |
|
|
|
// Create the new transition matrix by deleting all Markovian transitions from probabilistic states.
|
|
|
|
storm::dd::Add<Type, ValueType> newTransitionMatrix = this->probabilisticStates.ite(this->getTransitionMatrix() * (!this->getMarkovianMarker()).template toAdd<ValueType>(), this->getTransitionMatrix()); |
|
|
|
storm::dd::Add<Type, ValueType> newTransitionMatrix = this->probabilisticStates.ite(this->getTransitionMatrix() * (!this->getMarkovianMarker()).template toAdd<ValueType>(), this->getTransitionMatrix() * this->getExitRateVector()); |
|
|
|
|
|
|
|
return MarkovAutomaton<Type, ValueType>(this->getManagerAsSharedPointer(), this->getMarkovianMarker(), this->getReachableStates(), this->getInitialStates(), this->getDeadlockStates(), newTransitionMatrix, this->getRowVariables(), this->getRowExpressionAdapter(), this->getColumnVariables(), this->getRowColumnMetaVariablePairs(), this->getNondeterminismVariables(), this->getLabelToExpressionMap(), this->getRewardModels()); |
|
|
|
} |
|
|
|