|
|
@ -118,11 +118,23 @@ namespace storm { |
|
|
|
} |
|
|
|
|
|
|
|
#endif
|
|
|
|
template<typename IndexType, typename ValueType> |
|
|
|
storm::storage::MatrixEntry<IndexType, ValueType> simplify(storm::storage::MatrixEntry<IndexType, ValueType> matrixEntry) { |
|
|
|
simplify(matrixEntry.getValue()); |
|
|
|
return matrixEntry; |
|
|
|
} |
|
|
|
|
|
|
|
template<typename IndexType, typename ValueType> |
|
|
|
storm::storage::MatrixEntry<IndexType, ValueType>& simplify(storm::storage::MatrixEntry<IndexType, ValueType>& matrixEntry) { |
|
|
|
simplify(matrixEntry.getValue()); |
|
|
|
return matrixEntry; |
|
|
|
} |
|
|
|
|
|
|
|
template<typename IndexType, typename ValueType> |
|
|
|
storm::storage::MatrixEntry<IndexType, ValueType>&& simplify(storm::storage::MatrixEntry<IndexType, ValueType>&& matrixEntry) { |
|
|
|
simplify(matrixEntry.getValue()); |
|
|
|
return std::move(matrixEntry); |
|
|
|
} |
|
|
|
|
|
|
|
template class ConstantsComparator<double>; |
|
|
|
|
|
|
@ -132,7 +144,9 @@ namespace storm { |
|
|
|
|
|
|
|
template double simplify(double value); |
|
|
|
|
|
|
|
template storm::storage::MatrixEntry<storm::storage::sparse::state_type, double> simplify(storm::storage::MatrixEntry<storm::storage::sparse::state_type, double> matrixEntry); |
|
|
|
template storm::storage::MatrixEntry<storm::storage::sparse::state_type, double>& simplify(storm::storage::MatrixEntry<storm::storage::sparse::state_type, double>& matrixEntry); |
|
|
|
template storm::storage::MatrixEntry<storm::storage::sparse::state_type, double>&& simplify(storm::storage::MatrixEntry<storm::storage::sparse::state_type, double>&& matrixEntry); |
|
|
|
|
|
|
|
#ifdef PARAMETRIC_SYSTEMS
|
|
|
|
template class ConstantsComparator<RationalFunction>; |
|
|
@ -147,7 +161,9 @@ namespace storm { |
|
|
|
template RationalFunction& simplify(RationalFunction& value); |
|
|
|
template RationalFunction&& simplify(RationalFunction&& value); |
|
|
|
|
|
|
|
template storm::storage::MatrixEntry<storm::storage::sparse::state_type, RationalFunction> simplify(storm::storage::MatrixEntry<storm::storage::sparse::state_type, RationalFunction> matrixEntry); |
|
|
|
template storm::storage::MatrixEntry<storm::storage::sparse::state_type, RationalFunction>& simplify(storm::storage::MatrixEntry<storm::storage::sparse::state_type, RationalFunction>& matrixEntry); |
|
|
|
template storm::storage::MatrixEntry<storm::storage::sparse::state_type, RationalFunction>&& simplify(storm::storage::MatrixEntry<storm::storage::sparse::state_type, RationalFunction>&& matrixEntry); |
|
|
|
#endif
|
|
|
|
} |
|
|
|
} |