Browse Source

small changes, but did not fix the bug

tempestpy_adaptions
Lukas Posch 4 years ago
parent
commit
8df4a99770
  1. 4
      src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.cpp
  2. 4
      src/storm/modelchecker/rpatl/helper/internal/BoundedGloballyGameViHelper.cpp

4
src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.cpp

@ -120,7 +120,7 @@ namespace storm {
std::vector<ValueType> b = transitionMatrix.getConstrainedRowGroupSumVector(relevantStates, relevantStates);
// Reduce the matrix to relevant states
storm::storage::SparseMatrix<ValueType> submatrix = transitionMatrix.getSubmatrix(true, relevantStates, relevantStates, true);
storm::storage::SparseMatrix<ValueType> submatrix = transitionMatrix.getSubmatrix(true, relevantStates, relevantStates, false);
storm::storage::BitVector clippedStatesOfCoalition(relevantStates.getNumberOfSetBits());
clippedStatesOfCoalition.setClippedStatesOfCoalition(relevantStates, statesOfCoalition);
@ -133,7 +133,7 @@ namespace storm {
viHelper.setProduceScheduler(true);
}
// TODO: the lower bounds are not used at the moment
// TODO: the lower bounds are not used
if(lowerBound != 0)
{
STORM_LOG_WARN("The use of lower bounds is not implemented for bounded globally formulas.");

4
src/storm/modelchecker/rpatl/helper/internal/BoundedGloballyGameViHelper.cpp

@ -36,9 +36,7 @@ namespace storm {
this->_producedOptimalChoices->resize(this->_transitionMatrix.getRowGroupCount());
}
uint64_t iter = 0;
while (iter < upperBound) {
++iter;
for (uint64_t iter = 0; iter < upperBound; iter++) {
performIterationStep(env, dir);

Loading…
Cancel
Save