|
@ -214,7 +214,7 @@ namespace storm { |
|
|
typename FlexibleSparseMatrix<ValueType>::row_type& successorBackwardTransitions = backwardTransitions.getRow(successorEntry.getColumn()); |
|
|
typename FlexibleSparseMatrix<ValueType>::row_type& successorBackwardTransitions = backwardTransitions.getRow(successorEntry.getColumn()); |
|
|
|
|
|
|
|
|
// Delete the current state as a predecessor of the successor state.
|
|
|
// Delete the current state as a predecessor of the successor state.
|
|
|
typename FlexibleSparseMatrix<ValueType>::row_type::const_iterator elimIt = std::find_if(successorBackwardTransitions.begin(), successorBackwardTransitions.end(), [&](storm::storage::MatrixEntry<typename FlexibleSparseMatrix<ValueType>::index_type, typename FlexibleSparseMatrix<ValueType>::value_type> const& a) { return a.getColumn() == state; }); |
|
|
|
|
|
|
|
|
typename FlexibleSparseMatrix<ValueType>::row_type::iterator elimIt = std::find_if(successorBackwardTransitions.begin(), successorBackwardTransitions.end(), [&](storm::storage::MatrixEntry<typename FlexibleSparseMatrix<ValueType>::index_type, typename FlexibleSparseMatrix<ValueType>::value_type> const& a) { return a.getColumn() == state; }); |
|
|
if (elimIt != successorBackwardTransitions.end()) { |
|
|
if (elimIt != successorBackwardTransitions.end()) { |
|
|
successorBackwardTransitions.erase(elimIt); |
|
|
successorBackwardTransitions.erase(elimIt); |
|
|
} |
|
|
} |