Browse Source

numbered actions

Former-commit-id: 3b1e903ff9 [formerly df745fb192]
Former-commit-id: 4700ce2d70
tempestpy_adaptions
sjunges 8 years ago
parent
commit
88ecb60906
  1. 3
      src/utility/ExplicitExporter.cpp

3
src/utility/ExplicitExporter.cpp

@ -78,9 +78,10 @@ namespace storm {
typename storm::storage::SparseMatrix<ValueType>::index_type start = matrix.hasTrivialRowGrouping() ? group : matrix.getRowGroupIndices()[group]; typename storm::storage::SparseMatrix<ValueType>::index_type start = matrix.hasTrivialRowGrouping() ? group : matrix.getRowGroupIndices()[group];
typename storm::storage::SparseMatrix<ValueType>::index_type end = matrix.hasTrivialRowGrouping() ? group + 1 : matrix.getRowGroupIndices()[group + 1]; typename storm::storage::SparseMatrix<ValueType>::index_type end = matrix.hasTrivialRowGrouping() ? group + 1 : matrix.getRowGroupIndices()[group + 1];
for (typename storm::storage::SparseMatrix<ValueType>::index_type i = start; i < end; ++i) { for (typename storm::storage::SparseMatrix<ValueType>::index_type i = start; i < end; ++i) {
// Print the actual row. // Print the actual row.
os << "\taction";
os << "\taction " << i - start;
if (!embedded) { if (!embedded) {
bool first = true; bool first = true;
for (auto const& rewardModelEntry : sparseModel->getRewardModels()) { for (auto const& rewardModelEntry : sparseModel->getRewardModels()) {

Loading…
Cancel
Save