Browse Source

fixed typo - updateStatesOfCoalition

tempestpy_adaptions
Lukas Posch 3 years ago
committed by Stefan Pranger
parent
commit
82ffb9b7c0
  1. 2
      src/storm/modelchecker/rpatl/helper/SparseSmgRpatlHelper.cpp
  2. 4
      src/storm/modelchecker/rpatl/helper/internal/GameViHelper.cpp
  3. 2
      src/storm/modelchecker/rpatl/helper/internal/GameViHelper.h

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

@ -194,7 +194,7 @@ namespace storm {
// Update the viHelper for the (full-size) submatrix and statesOfCoalition.
viHelper.updateTransitionMatrix(submatrix);
viHelper.updateStatesOfCoaltion(statesOfCoalition);
viHelper.updateStatesOfCoalition(statesOfCoalition);
// Reset constrainedChoiceValues and b to 0-vector in the correct dimension.
constrainedChoiceValues = std::vector<ValueType>(transitionMatrix.getConstrainedRowGroupSumVector(relevantStates, newPsiStates).size(), storm::utility::zero<ValueType>());

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

@ -131,8 +131,8 @@ namespace storm {
}
template <typename ValueType>
void GameViHelper<ValueType>::updateStatesOfCoaltion(storm::storage::BitVector newStatesOfCoaltion) {
_statesOfCoalition = newStatesOfCoaltion;
void GameViHelper<ValueType>::updateStatesOfCoalition(storm::storage::BitVector newStatesOfCoalition) {
_statesOfCoalition = newStatesOfCoalition;
}
template <typename ValueType>

2
src/storm/modelchecker/rpatl/helper/internal/GameViHelper.h

@ -46,7 +46,7 @@ namespace storm {
/*!
* Changes the statesOfCoalition to the given one.
*/
void updateStatesOfCoaltion(storm::storage::BitVector newStatesOfCoaltion);
void updateStatesOfCoalition(storm::storage::BitVector newStatesOfCoalition);
storm::storage::Scheduler<ValueType> extractScheduler() const;

Loading…
Cancel
Save