Browse Source

capitalization error and fix for cumulative rewards

tempestpy_adaptions
TimQu 8 years ago
parent
commit
77e71b7876
  1. 8
      src/storm/modelchecker/parametric/SparseMdpInstantiationModelChecker.cpp
  2. 4
      src/storm/modelchecker/parametric/SparseMdpParameterLiftingModelChecker.cpp

8
src/storm/modelchecker/parametric/SparseMdpInstantiationModelChecker.cpp

@ -1,9 +1,9 @@
#include "SparseMdpInstantiationModelChecker.h"
#include "storm/logic/FragmentSpecification.h"
#include "storm/modelChecker/results/ExplicitQuantitativeCheckResult.h"
#include "storm/modelChecker/results/ExplicitQualitativeCheckResult.h"
#include "storm/modelChecker/hints/ExplicitModelCheckerHint.h"
#include "storm/modelchecker/results/ExplicitQuantitativeCheckResult.h"
#include "storm/modelchecker/results/ExplicitQualitativeCheckResult.h"
#include "storm/modelchecker/hints/ExplicitModelCheckerHint.h"
#include "storm/utility/graph.h"
#include "storm/utility/vector.h"
@ -169,4 +169,4 @@ namespace storm {
}
}
}
}

4
src/storm/modelchecker/parametric/SparseMdpParameterLiftingModelChecker.cpp

@ -189,7 +189,7 @@ namespace storm {
typename SparseModelType::RewardModelType const& rewardModel = checkTask.isRewardModelSet() ? this->parametricModel.getRewardModel(checkTask.getRewardModel()) : this->parametricModel.getUniqueRewardModel();
std::vector<typename SparseModelType::ValueType> b = rewardModel.getTotalRewardVector(this->parametricModel.getTransitionMatrix());
parameterLifter = std::make_unique<storm::transformer::ParameterLifter<typename SparseModelType::ValueType, ConstantType>>(this->parametricModel.getTransitionMatrix(), b, maybeStates, maybeStates);
parameterLifter = std::make_unique<storm::transformer::ParameterLifter<typename SparseModelType::ValueType, ConstantType>>(this->parametricModel.getTransitionMatrix(), b, storm::storage::BitVector(this->parametricModel.getTransitionMatrix().getRowCount(), true), maybeStates);
computePlayer1Matrix();
applyPreviousResultAsHint = false;
@ -312,4 +312,4 @@ namespace storm {
template class SparseMdpParameterLiftingModelChecker<storm::models::sparse::Mdp<storm::RationalFunction>, storm::RationalNumber>;
}
}
}
}
Loading…
Cancel
Save